From d584d29ac49182130d643c9221047e0acb5cfa01 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 30 Jan 2008 17:36:03 +0000 Subject: accomodate the new modules --- src/gl/sphere.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/gl/sphere.cc') 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() -- cgit v1.2.3