15 #include "bulletConeShape.h"
25 BulletConeShape(PN_stdfloat radius, PN_stdfloat height, BulletUpAxis up) {
29 _shape =
new btConeShapeX((btScalar)radius, (btScalar)height);
32 _shape =
new btConeShape((btScalar)radius, (btScalar)height);
35 _shape =
new btConeShapeZ((btScalar)radius, (btScalar)height);
38 bullet_cat.error() <<
"invalid up-axis:" << up << endl;
42 _shape->setUserPointer(
this);
50 btCollisionShape *BulletConeShape::
TypeHandle is the identifier used to differentiate C++ class types.