mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-14 07:23:26 +00:00
Refactors GJK tetrahedron handling
Updates the `handle_tetrahedron` function to use const references for simplex points, improving efficiency and readability. Corrects a potential bug where the `simplex` variable wasn't being correctly updated when recursively calling `handle_triangle`. Also, const-qualifies `point_to_same_direction` for better safety.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
namespace omath
|
||||
{
|
||||
struct Hsv
|
||||
struct Hsv final
|
||||
{
|
||||
float hue{};
|
||||
float saturation{};
|
||||
|
||||
Reference in New Issue
Block a user