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