15 #ifndef __BULLET_SPHERE_SHAPE_H__ 16 #define __BULLET_SPHERE_SHAPE_H__ 18 #include "pandabase.h" 20 #include "bullet_includes.h" 21 #include "bullet_utils.h" 22 #include "bulletShape.h" 24 #include "collisionSphere.h" 35 INLINE
void operator = (
const BulletSphereShape ©);
36 INLINE ~BulletSphereShape();
38 INLINE PN_stdfloat get_radius()
const;
40 static BulletSphereShape *make_from_solid(
const CollisionSphere *solid);
43 virtual btCollisionShape *ptr()
const;
46 btSphereShape *_shape;
53 static void init_type() {
54 BulletShape::init_type();
55 register_type(_type_handle,
"BulletSphereShape",
56 BulletShape::get_class_type());
59 return get_class_type();
63 return get_class_type();
70 #include "bulletSphereShape.I" 72 #endif // __BULLET_SPHERE_SHAPE_H__ A spherical collision volume or object.
TypeHandle is the identifier used to differentiate C++ class types.