aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/vector.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/bladerunner/vector.h')
-rw-r--r--engines/bladerunner/vector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/vector.h b/engines/bladerunner/vector.h
index 706d81f9c1..f6670c23f0 100644
--- a/engines/bladerunner/vector.h
+++ b/engines/bladerunner/vector.h
@@ -55,7 +55,7 @@ public:
Vector3(float ax, float ay, float az) : x(ax), y(ay), z(az) {}
- float length() { return sqrtf(x * x + y * y + z * z); }
+ float length() { return sqrt(x * x + y * y + z * z); }
Vector3 normalize() {
float len = length();
if (len == 0) {