diff options
Diffstat (limited to '')
-rw-r--r-- | src/math/Vector2D.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/math/Vector2D.h b/src/math/Vector2D.h index 0235dbe5..2c4e57b5 100644 --- a/src/math/Vector2D.h +++ b/src/math/Vector2D.h @@ -13,14 +13,6 @@ public: void Normalise(void) { float sq = MagnitudeSqr(); - // assert(sq != 0.0f); // just be safe here - float invsqrt = RecipSqrt(sq); - x *= invsqrt; - y *= invsqrt; - } - - void NormaliseSafe(void) { - float sq = MagnitudeSqr(); if(sq > 0.0f){ float invsqrt = RecipSqrt(sq); x *= invsqrt; |