diff options
author | Stijn Buys <ingar@osirion.org> | 2016-08-21 15:58:17 +0200 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2016-08-21 15:58:17 +0200 |
commit | 85959db35e280a219c1ca02c15d08366a1b2be78 (patch) | |
tree | 1095a4d62f77e0d85b8c3db2f5251c12def4359a /src/math | |
parent | 6817dec0b405b325a2762e352ad2a5916c24542a (diff) |
Removed unnecessary cast.
Diffstat (limited to 'src/math')
-rw-r--r-- | src/math/vector3f.cc | 2 |
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 |