Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/sphere.h')
-rw-r--r--src/render/sphere.h11
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;