Update core data structures to match the engine

This commit is contained in:
Aaron Franke
2022-10-05 21:40:33 -05:00
parent 1507253bd5
commit 65eeb94f75
21 changed files with 739 additions and 503 deletions

View File

@@ -441,17 +441,17 @@ inline T abs(T x) {
return std::abs(x);
}
inline double deg2rad(double p_y) {
inline double deg_to_rad(double p_y) {
return p_y * Math_PI / 180.0;
}
inline float deg2rad(float p_y) {
inline float deg_to_rad(float p_y) {
return p_y * static_cast<float>(Math_PI) / 180.f;
}
inline double rad2deg(double p_y) {
inline double rad_to_deg(double p_y) {
return p_y * 180.0 / Math_PI;
}
inline float rad2deg(float p_y) {
inline float rad_to_deg(float p_y) {
return p_y * 180.f / static_cast<float>(Math_PI);
}