bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Add triangle_math tests and fix Triangle3d::bounding_sphere bug

Open vitorfhc opened this issue 1 year ago • 0 comments

Objective

To test and fix the Triangle3d methods.

Solution

  • Fixes an issue with the Triangle3d::bounding_sphere method, which was not translating the sphere to the largest side mid-point.
  • Add tests for the Triangle3d math.

Changelog

Changed

  • Add Triangle3d tests
  • Fix Triangle3d::bounding_sphere bug for degenerate triangles

vitorfhc avatar Mar 22 '24 20:03 vitorfhc