14 #ifndef __BULLET_SPHERICAL_CONSTRAINT_H__ 15 #define __BULLET_SPHERICAL_CONSTRAINT_H__ 37 const LPoint3 &pivot_a);
40 const LPoint3 &pivot_a,
41 const LPoint3 &pivot_b);
45 void set_pivot_a(
const LPoint3 &pivot_a);
46 void set_pivot_b(
const LPoint3 &pivot_b);
47 LPoint3 get_pivot_in_a()
const;
48 LPoint3 get_pivot_in_b()
const;
50 MAKE_PROPERTY(pivot_a, get_pivot_in_a, set_pivot_a);
51 MAKE_PROPERTY(pivot_b, get_pivot_in_b, set_pivot_b);
54 virtual btTypedConstraint *ptr()
const;
57 btPoint2PointConstraint *_constraint;
63 static void init_type() {
64 BulletConstraint::init_type();
66 BulletConstraint::get_class_type());
69 return get_class_type();
73 return get_class_type();
82 #endif // __BULLET_SPHERICAL_CONSTRAINT_H__ PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A constraint between two rigid bodies, each with a pivot point.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.