From 85959db35e280a219c1ca02c15d08366a1b2be78 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 21 Aug 2016 15:58:17 +0200 Subject: Removed unnecessary cast. --- src/math/vector3f.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3