Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/math/vector3f.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/vector3f.cc b/src/math/vector3f.cc
index 03b4307..a1b0f82 100644
--- a/src/math/vector3f.cc
+++ b/src/math/vector3f.cc
@@ -103,7 +103,7 @@ float Vector3f::lengthsquared() const
float r = 0;
for (int i = 0; i < 3; i++)
r += coord[i] * coord[i];
- return ((float) r);
+ return (r);
}
float Vector3f::length() const