Skip to content

Conversation

@kylebarron
Copy link
Member

@kylebarron kylebarron commented Apr 21, 2025

Exploring whether it's possible to implement force2d by having a wrapper around a trait object that always tells Dimension::XY.

I don't think this is possible because the GeometryTrait::as_type gives out references but the scalar wrappers take input by value.

@kylebarron kylebarron changed the title Explore using trait wrappers to implement Force2D POC: Explore using trait wrappers to implement Force2D Apr 21, 2025
@kylebarron
Copy link
Member Author

Superseded by #1283

@kylebarron kylebarron closed this Aug 7, 2025
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

Successfully merging this pull request may close these issues.

2 participants