From 912ebb62d5e8602a196a59887ef4d41cf0d6edbf Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 9 Mar 2008 11:04:35 +0000 Subject: fixed sphere black hole, added basic HUD with speed and direction indicator, basic shaped entities readable from world.ini --- src/render/sphere.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/render/sphere.h') 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; -- cgit v1.2.3