Skip to content

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

@drobnyjt

Description

@drobnyjt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions