diff options
Diffstat (limited to 'include/egg/math')
| -rw-r--r-- | include/egg/math/eggVector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/egg/math/eggVector.h b/include/egg/math/eggVector.h index 06f57b14..bd14d0a6 100644 --- a/include/egg/math/eggVector.h +++ b/include/egg/math/eggVector.h @@ -13,7 +13,7 @@ public: Vector3f(const Vector3f& other) {x = other.x, y = other.y, z = other.z;} // may need change f32 squaredLength() { return x*x + y*y + z*z; } - f32 length() { return Math<f32>::frsqrt(squaredLength()); } + f32 length() { return Math<f32>::sqrt(squaredLength()); } /* 8049bcc0 */ void normalise(); /* 8049bd50 */ void setLength(Vector3f& src, f32 length); /* 8049be10 */ void setLength(f32 length); |
