diff options
Diffstat (limited to 'src/gl/sphere.cc')
-rw-r--r-- | src/gl/sphere.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gl/sphere.cc b/src/gl/sphere.cc index 1c21ee5..e28e495 100644 --- a/src/gl/sphere.cc +++ b/src/gl/sphere.cc @@ -4,8 +4,11 @@ the terms of the GNU General Public License version 2 */ -#include "sphere.h" -#include "common/functions.h" +#include "gl/sphere.h" +#include "math/mathlib.h" + +using math::Vector3f; +using math::Color; namespace gl { @@ -42,6 +45,7 @@ Sphere& Sphere::operator=(const Sphere &other) { position = other.position; radius = other.radius; + return (*this); } void Sphere::draw() |