Skip to content

Math type agnostic convex hulls #4

@Jondolf

Description

@Jondolf

Currently, we only support DVec2/DVec3 from Glam. But what if you want to use Nalgebra, or something else?

We could make the convex hull types generic over the vector and scalar types by introducing some traits. The algorithms don't actually use too much math beyond basic operations, so it shouldn't be too hard. We could then have built-in Glam and Nalgebra support behind feature flags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions