mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
d2fa55db6b
# Objective Some algorithms don't really work well or are not efficient in 3D space. When we know we have points on an `InfinitePlane3d` it would be helpful to have some utility methods to reversibly transform points on the plane to 2D space to apply some algorithms there. ## Solution This PR adds a few of methods to project 3D points on a plane to 2D points and inject them back. Additionally there are some other small common helper methods. ## Testing - added some tests that cover the new methods --------- Co-authored-by: Matty <weatherleymatthew@gmail.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
clippy.toml | ||
README.md |