Panda3D
odePlane2dJoint.I
1 // Filename: odePlane2dJoint.I
2 // Created by: joswilso (27Dec06)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 INLINE void OdePlane2dJoint::
16 set_x_param(int parameter, dReal value) {
17  dJointSetPlane2DXParam(_id, parameter, value);
18 }
19 
20 INLINE void OdePlane2dJoint::
21 set_y_param(int parameter, dReal value) {
22  dJointSetPlane2DYParam(_id, parameter, value);
23 }
24 
25 INLINE void OdePlane2dJoint::
26 set_angle_param(int parameter, dReal value) {
27  dJointSetPlane2DAngleParam(_id, parameter, value);
28 }