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

[feature] mesh_2d requirement should be replaced with a generic Geometry type #77

Closed
drobnyjt opened this issue Feb 16, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@drobnyjt
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Currently, there is no way to, for example, run rectangular geometry with fewer than 2 triangles. Layered geometry requires many triangle checks which are not technically necessary - a simple bounding box calculation would do.

Proposed solution
The mesh_2D type in Material should be replaced with a generic Geometry type that implements all the necessary traits - determining the composition, whether or not a particle is outside the material, etc.

Additional context
https://doc.rust-lang.org/book/ch10-01-syntax.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant