summaryrefslogtreecommitdiff
path: root/include/egg/math
diff options
context:
space:
mode:
authorelijah-thomas774 <elijahthomas774@gmail.com>2023-10-08 14:12:29 -0400
committerelijah-thomas774 <elijahthomas774@gmail.com>2023-10-08 14:12:29 -0400
commitfa36edcffdde37c7e9cab881d5c825747fc006f2 (patch)
tree1539d68b7f0311c4c492b622b081c76020ed6112 /include/egg/math
parentf422b6401769235b2985e7862c35ee271e4dbe7a (diff)
Filled out FileManager (NonMatching)
Diffstat (limited to 'include/egg/math')
-rw-r--r--include/egg/math/eggVector.h2
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);