added diffuse and specular colors to Material, switched all "private:" to "protected:"

git-svn-id: svn://anubis/fart/trunk@69 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop committed 2009-01-30 02:26:46 +00:00
1 parent 04b8ea5f9e
commit 18c0c8d45f
8 files changed
+15 -11

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ class Plane : public Shape
IntersectList intersect(const Ray & ray);
Vector getNormalAt(const Vector & pt);
private:
protected:
double m_a, m_b, m_c, m_d;
};
+1 -1
View File
@@ -11,7 +11,7 @@ class Sphere : public Shape
IntersectList intersect(const Ray & ray);
Vector getNormalAt(const Vector & pt);
private:
protected:
double m_radius;
double m_radius2;
};