added Shape::~Shape() to work around compiler warnings

git-svn-id: svn://anubis/fart/trunk@101 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop committed 2009-02-11 17:11:30 +00:00
1 parent ee64558db6
commit 7f9b8b913a
2 files changed
+5

No files matched your search

+4
View File
@@ -6,3 +6,7 @@ Shape::Shape()
m_transparency = 0.0; m_transparency = 0.0;
m_material = new Material(Material::white); m_material = new Material(Material::white);
} }
Shape::~Shape()
{
}
+1
View File
@@ -16,6 +16,7 @@ class Shape
typedef std::vector<Vector> IntersectList; typedef std::vector<Vector> IntersectList;
Shape(); Shape();
virtual ~Shape();
virtual IntersectList intersect(const Ray & ray) = 0; virtual IntersectList intersect(const Ray & ray) = 0;
virtual Vector getNormalAt(const Vector & pt) = 0; virtual Vector getNormalAt(const Vector & pt) = 0;