From c8b82479f9a3eb8292131c491a387e31322efcd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 25 Sep 2013 23:54:28 +0200 Subject: [PATCH] Shapes: minor cleanup. --- src/Shapes/Sphere.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Shapes/Sphere.cpp b/src/Shapes/Sphere.cpp index 303e6e351..f08f8d923 100644 --- a/src/Shapes/Sphere.cpp +++ b/src/Shapes/Sphere.cpp @@ -74,7 +74,7 @@ template bool Sphere::operator%(const LineSe } template bool Sphere::operator%(const Sphere& other) const { - return (_position - other._position).dot() < Math::pow<2>(_radius+other._radius); + return (_position - other._position).dot() < Math::pow<2>(_radius + other._radius); } template Collision Sphere::operator/(const Sphere& other) const {