Fix some compilation warnings

This commit is contained in:
Jack Andersen
2019-04-06 19:01:22 -10:00
parent 617875531a
commit 92733a3bb7
4 changed files with 11 additions and 11 deletions

View File

@@ -137,7 +137,7 @@ public:
struct Tri {
zeus::CPlane x0_plane;
zeus::CVector3f x10_[3];
zeus::CVector3f x10_verts[3];
};
Tri getTri(EBoxFaceId face, int windOffset) const;

View File

@@ -17,15 +17,6 @@
namespace zeus {
static float normalize_angle(float angle) {
if (angle > M_PIF)
angle -= 2.f * M_PIF;
else if (angle < -M_PIF)
angle += 2.f * M_PIF;
return angle;
}
class CNUQuaternion;
/** Unit quaternion, used for all quaternion arithmetic */