Dura2D
v0.1.0
An educational 2D game physics library
|
#include <d2Shape.h>
Public Member Functions | |
virtual | ~d2Shape ()=default |
virtual d2ShapeType | GetType () const =0 |
virtual d2Shape * | Clone () const =0 |
virtual void | UpdateVertices (const d2Transform &transform)=0 |
virtual real | GetMomentOfInertia () const =0 |
|
virtualdefault |
|
pure virtual |
Implemented in d2BoxShape, d2CircleShape, and d2PolygonShape.
|
pure virtual |
Implemented in d2BoxShape, d2CircleShape, and d2PolygonShape.
|
pure virtual |
Implemented in d2BoxShape, d2CircleShape, and d2PolygonShape.
|
pure virtual |
Implemented in d2CircleShape, and d2PolygonShape.