15 #ifndef __BULLET_SPHERICAL_CONSTRAINT_H__
16 #define __BULLET_SPHERICAL_CONSTRAINT_H__
18 #include "pandabase.h"
20 #include "bullet_includes.h"
21 #include "bullet_utils.h"
22 #include "bulletConstraint.h"
50 void set_pivot_a(
const LPoint3 &pivot_a);
51 void set_pivot_b(
const LPoint3 &pivot_b);
56 virtual btTypedConstraint *ptr()
const;
59 btPoint2PointConstraint *_constraint;
66 static void init_type() {
67 BulletConstraint::init_type();
68 register_type(_type_handle,
"BulletSphericalConstraint",
69 BulletConstraint::get_class_type());
72 return get_class_type();
76 return get_class_type();
83 #include "bulletSphericalConstraint.I"
85 #endif // __BULLET_SPHERICAL_CONSTRAINT_H__
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
A constraint between two rigid bodies, each with a pivot point.
TypeHandle is the identifier used to differentiate C++ class types.