bevy
bevy copied to clipboard
Add triangle_math tests and fix Triangle3d::bounding_sphere bug
Objective
To test and fix the Triangle3d methods.
Solution
- Fixes an issue with the
Triangle3d::bounding_spheremethod, which was not translating the sphere to the largest side mid-point. - Add tests for the
Triangle3dmath.
Changelog
Changed
- Add
Triangle3dtests - Fix
Triangle3d::bounding_spherebug for degenerate triangles