diff options
Diffstat (limited to '')
-rw-r--r-- | src/math/math.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/math/math.cpp b/src/math/math.cpp index 4792fdd0..d231b147 100644 --- a/src/math/math.cpp +++ b/src/math/math.cpp @@ -120,19 +120,6 @@ void TransformPoints(CVuVector *out, int n, const CMatrix &mat, const CVuVector void -CVector2D::Normalise(void) -{ - float sq = MagnitudeSqr(); - assert(sq != 0.0f); // just be safe here - //if(sq > 0.0f){ - float invsqrt = RecipSqrt(sq); - x *= invsqrt; - y *= invsqrt; - //}else - // x = 1.0f; -} - -void CMatrix::SetRotate(float xAngle, float yAngle, float zAngle) { float cX = Cos(xAngle); |