Define shared_ptr<Sphere> as Sphere::Ptr
This commit is contained in:
parent
12f180a3de
commit
c185a24f34
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ class Sphere
|
|||
: public Object
|
||||
{
|
||||
public:
|
||||
typedef std::shared_ptr<Sphere> Ptr;
|
||||
|
||||
Sphere();
|
||||
Sphere(float r);
|
||||
Sphere(Vector3 o, float r);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue