Object::get_material returns a pointer instead of a reference

This commit is contained in:
Eryn Wells 2014-07-19 14:09:47 -07:00
parent b62949416b
commit 68d0083ba8
3 changed files with 8 additions and 8 deletions

View file

@ -100,11 +100,11 @@ Shape::~Shape()
*
* Get and set the Material applied to this shape.
*/
Material &
Material*
Shape::get_material()
const
{
return *material;
return material;
}
void