diff options
author | Stijn Buys <ingar@osirion.org> | 2008-01-30 17:36:03 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-01-30 17:36:03 +0000 |
commit | d584d29ac49182130d643c9221047e0acb5cfa01 (patch) | |
tree | 06f23cb1cae0a1945e88ea7f19ad80394cb35d6b /src/gl/sphere.cc | |
parent | bac8343bbc9f1e4cf97a561c732054539f21f03d (diff) |
accomodate the new modules
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() |