diff options
author | Stijn Buys <ingar@osirion.org> | 2008-03-09 11:04:35 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-03-09 11:04:35 +0000 |
commit | 912ebb62d5e8602a196a59887ef4d41cf0d6edbf (patch) | |
tree | 248fa306aa28762108e900de8d7c8b655a603fef /src/render/sphere.h | |
parent | 07c0040f3433cc637fecbb712fb3b6f5ad1ab5de (diff) |
fixed sphere black hole, added basic HUD with speed and direction indicator, basic shaped entities readable from world.ini
Diffstat (limited to 'src/render/sphere.h')
-rw-r--r-- | src/render/sphere.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/render/sphere.h b/src/render/sphere.h index b3ac826..73a2169 100644 --- a/src/render/sphere.h +++ b/src/render/sphere.h @@ -16,7 +16,7 @@ class Sphere { public: /// create a new sphere - Sphere(math::Vector3f p = math::Vector3f(), float r = 1.0f); + Sphere(float r = 1.0f); /// copy constructor Sphere(const Sphere &other); @@ -30,16 +30,11 @@ public: /// radius of the sphere float radius; - /// position of the sphere - math::Vector3f position; - /// draw the sphere void draw(); - /// Top color - math::Color topcolor; - /// bottom color - math::Color bottomcolor; + /// color + math::Color sphere_color; private: float *sintable; |