20 INLINE BulletMultiSphereShape::
21 ~BulletMultiSphereShape() {
31 INLINE BulletMultiSphereShape::
41 INLINE
void BulletMultiSphereShape::
51 INLINE
int BulletMultiSphereShape::
52 get_sphere_count()
const {
54 return _shape->getSphereCount();
62 INLINE
LPoint3 BulletMultiSphereShape::
63 get_sphere_pos(
int index)
const {
65 nassertr(index >=0 && index <_shape->getSphereCount(),
LPoint3::zero());
66 return btVector3_to_LPoint3(_shape->getSpherePosition(index));
74 INLINE PN_stdfloat BulletMultiSphereShape::
75 get_sphere_radius(
int index)
const {
77 nassertr(index >=0 && index <_shape->getSphereCount(), 0.0);
78 return (PN_stdfloat)_shape->getSphereRadius(index);
static const LPoint3f & zero()
Returns a zero-length point.
This is a three-component point in space (as opposed to a three-component vector, which represents a ...