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:
parent
ee64558db6
commit
7f9b8b913a
@ -1,8 +1,12 @@
|
||||
|
||||
#include "Shape.h"
|
||||
|
||||
Shape::Shape()
|
||||
{
|
||||
m_transparency = 0.0;
|
||||
m_material = new Material(Material::white);
|
||||
}
|
||||
|
||||
#include "Shape.h"
|
||||
|
||||
Shape::Shape()
|
||||
{
|
||||
m_transparency = 0.0;
|
||||
m_material = new Material(Material::white);
|
||||
}
|
||||
|
||||
Shape::~Shape()
|
||||
{
|
||||
}
|
||||
|
@ -16,6 +16,7 @@ class Shape
|
||||
typedef std::vector<Vector> IntersectList;
|
||||
|
||||
Shape();
|
||||
virtual ~Shape();
|
||||
virtual IntersectList intersect(const Ray & ray) = 0;
|
||||
virtual Vector getNormalAt(const Vector & pt) = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user