Add virtual destructor for Shape class

This commit is contained in:
Eryn Wells 2013-09-13 14:14:45 -07:00
parent 55ef253c10
commit e55828890b
2 changed files with 10 additions and 0 deletions

View file

@ -34,6 +34,7 @@ class Shape
public:
Shape();
Shape(Vector3 o);
virtual ~Shape();
Material &get_material() const;
void set_material(Material *mat);