Core: Replace C math headers with C++ equivalents

- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
This commit is contained in:
Thaddeus Crews
2025-03-19 14:18:09 -05:00
parent c5c1cd4440
commit ad40939b6f
101 changed files with 414 additions and 498 deletions

View File

@ -205,7 +205,7 @@ void MobileVRInterface::set_position_from_sensors() {
Vector3 axis = grav_adj.cross(down);
axis.normalize();
Basis drift_compensation(axis, acos(dot) * delta_time * 10);
Basis drift_compensation(axis, std::acos(dot) * delta_time * 10);
orientation = drift_compensation * orientation;
};
};