14 INLINE
void OdeBallJoint::
15 set_anchor(dReal x, dReal y, dReal z) {
16 dJointSetBallAnchor(_id, x, y, z);
19 INLINE
void OdeBallJoint::
20 set_anchor(
const LVecBase3f &anchor) {
21 dJointSetBallAnchor(_id, anchor[0], anchor[1], anchor[2]);
24 INLINE
void OdeBallJoint::
25 set_anchor2(dReal x, dReal y, dReal z) {
26 dJointSetBallAnchor2(_id, x, y, z);
29 INLINE
void OdeBallJoint::
30 set_anchor2(
const LVecBase3f &anchor) {
31 dJointSetBallAnchor2(_id, anchor[0], anchor[1], anchor[2]);
34 INLINE LVecBase3f OdeBallJoint::
37 dJointGetBallAnchor(_id, result);
38 return LVecBase3f(result[0], result[1], result[2]);
41 INLINE LVecBase3f OdeBallJoint::
44 dJointGetBallAnchor2(_id, result);
45 return LVecBase3f(result[0], result[1], result[2]);