Define shared_ptr<Sphere> as Sphere::Ptr

This commit is contained in:
Eryn Wells 2014-07-20 16:51:58 -07:00
parent 12f180a3de
commit c185a24f34

View file

@ -17,6 +17,8 @@ class Sphere
: public Object
{
public:
typedef std::shared_ptr<Sphere> Ptr;
Sphere();
Sphere(float r);
Sphere(Vector3 o, float r);