Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2016-08-21 15:58:17 +0200
committerStijn Buys <ingar@osirion.org>2016-08-21 15:58:17 +0200
commit85959db35e280a219c1ca02c15d08366a1b2be78 (patch)
tree1095a4d62f77e0d85b8c3db2f5251c12def4359a /src/math
parent6817dec0b405b325a2762e352ad2a5916c24542a (diff)
Removed unnecessary cast.
Diffstat (limited to 'src/math')
-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