Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random open questions from my notes #37

Open
1 of 26 tasks
LukasKalbertodt opened this issue Apr 19, 2023 · 0 comments
Open
1 of 26 tasks

Random open questions from my notes #37

LukasKalbertodt opened this issue Apr 19, 2023 · 0 comments

Comments

@LukasKalbertodt
Copy link
Owner

Not sure how much of this still makes sense, but I wanted to transfer everything from private notes to GitHub.

  • Open Questions
    • Maybe impl Deref<Target=Handle> for ElementRef
    • Make {Element}Ref thingies a single pointer? Also make them always valid, i.e. non constructable by users.
    • Add add_vertex(pos) and the like methods to fat meshes (automatically?)
    • derive(FatMesh) to add several methods like add_vertex(position).
    • Think about abstracting over (core mesh, position) again to make passing fat meshes into algorithms easier
  • Final touches
    • Rename {Element}Ref to {Element}?
    • Maybe remove derive_more dependency
    • Guard more stuff behind features
    • Go through all TODOs
    • Remove profile.release debug=true
  • IO
    • Write edges and edge data
    • Think about more fat meshes? Vertex normals?
    • Make ErrorKind nicer
    • Add null sink
    • Config::into_writer should be in a trait (and then we can add wrote_to_mem)
  • hsize and handles
    • Add cargo feature to use u64 as hsize
    • Add cargo feature to check for overflow in release mode too
    • Think about how to avoid using handles in wrong universes
    • Think about how to avoid using handles to already deleted things
    • Derive Handle for structs with one hsize field
  • Unsorted
    • Think about indexing Prop-thingies with Into<Handle> or so
    • Think about implementing conversions between meshes + maybe a way to quickly add all faces and only fix adjacency info afterwards?
    • Add fat::EmptyMesh or implement Mem* for all core mesh types
    • Think about futures and progress bars
    • Add try_add_face which returns a result
    • Let user disable deletion to avoid storing the bitvec?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant