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:
1 parent
04b8ea5f9e
commit
18c0c8d45f
8 files changed
+15
-11
No files matched your search
+1
-1
@@ -15,7 +15,7 @@ class Ray
|
||||
Vector getPositionAt(double dist) const;
|
||||
Vector operator[](double dist) const { return getPositionAt(dist); }
|
||||
|
||||
private:
|
||||
protected:
|
||||
Vector m_origin;
|
||||
Vector m_direction;
|
||||
};
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ class Vector
|
||||
Vector proj(const Vector & target) const;
|
||||
Vector reflect(const Vector & target) const;
|
||||
|
||||
private:
|
||||
protected:
|
||||
double m_array[3];
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user