16 INLINE
void OdeLMotorJoint::
17 set_num_axes(
int num) {
18 dJointSetLMotorNumAxes(_id, num);
21 INLINE
void OdeLMotorJoint::
22 set_axis(
int anum,
int rel, dReal x, dReal y, dReal z) {
23 dJointSetLMotorAxis(_id, anum, rel, x, y, z);
26 INLINE
void OdeLMotorJoint::
27 set_axis(
int anum,
int rel,
const LVecBase3f &axis) {
28 dJointSetLMotorAxis(_id, anum, rel, axis[0], axis[1], axis[2]);
31 INLINE
void OdeLMotorJoint::
32 set_param(
int parameter, dReal value) {
33 dJointSetLMotorParam(_id, parameter, value);
36 INLINE
int OdeLMotorJoint::
37 get_num_axes()
const {
38 return dJointGetLMotorNumAxes(_id);
42 get_axis(
int anum)
const {
44 dJointGetLMotorAxis(_id, anum, result);
45 return LVecBase3f(result[0], result[1], result[2]);
48 INLINE dReal OdeLMotorJoint::
49 get_param(
int parameter)
const {
50 return dJointGetLMotorParam(_id, parameter);
This is the base class for all three-component vectors and points.