diff --git a/src/object.cc b/src/object.cc index 44afa20..8e3fde4 100644 --- a/src/object.cc +++ b/src/object.cc @@ -76,6 +76,15 @@ Shape::Shape(Vector3 o) { } +/* + * Shape::~Shape() -- + * + * Destructor. + */ +Shape::~Shape() +{ } + + /* * Shape::get_material -- * Shape::set_material -- diff --git a/src/object.h b/src/object.h index 4b84e5e..af36e28 100644 --- a/src/object.h +++ b/src/object.h @@ -34,6 +34,7 @@ class Shape public: Shape(); Shape(Vector3 o); + virtual ~Shape(); Material &get_material() const; void set_material(Material *mat);