40 #ifndef _physicsconecollisionshape_cpp
41 #define _physicsconecollisionshape_cpp
43 #include "Physics/conecollisionshape.h"
44 #include "collisionshapemanager.h"
45 #include "stringtool.h"
47 #include "btBulletDynamicsCommon.h"
59 btConeShape* ConeShape;
60 if(
Axis_Y == UpAxis) ConeShape =
new btConeShape(Radius,Height);
61 else if(
Axis_X == UpAxis) ConeShape =
new btConeShapeX(Radius,Height);
62 else if(
Axis_Z == UpAxis) ConeShape =
new btConeShapeZ(Radius,Height);
99 {
Construct(Name, Radius, Height, UpAxis); }
106 if(!OneName) { MEZZ_EXCEPTION(
Exception::PARAMETERS_EXCEPTION,
"Could not find Name Attribute on CollsionShape Node during preparation for deserialization"); }
174 {
return static_cast<btConeShape*
>(
ShapeBase); }
233 {
return String(
"ConeCollisionShape"); }