16 class PhysicsCylinder;
19 class PhysicsConvexHull;
37 m_quaternion(1,0,0,0),
45 virtual enum ege::PhysicsShape::type getType()
const {
46 return ege::PhysicsShape::unknow;
50 virtual bool parse(
const char* _line);
51 virtual void display() {
57 const vec4& getQuaternion()
const {
63 const vec3& getOrigin()
const {
68 return getType() == ege::PhysicsShape::box;
71 return getType() == ege::PhysicsShape::cylinder;
74 return getType() == ege::PhysicsShape::capsule;
77 return getType() == ege::PhysicsShape::cone;
80 return getType() == ege::PhysicsShape::convexHull;
83 return getType() == ege::PhysicsShape::sphere;
Definition: PhysicsConvexHull.hpp:12
Definition: AudioElement.hpp:8
Definition: PhysicsCylinder.hpp:14
Definition: PhysicsCapsule.hpp:14
Definition: PhysicsSphere.hpp:14
Definition: PhysicsBox.hpp:13
Definition: PhysicsCone.hpp:12
Definition: PhysicsShape.hpp:22