Update of /cvsroot/simspark/simspark/spark/oxygen/physicsserver
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv6862
Modified Files:
joint.h
Log Message:
- made GetParameter() and SetParameter() public
Index: joint.h
===================================================================
RCS file: /cvsroot/simspark/simspark/spark/oxygen/physicsserver/joint.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** joint.h 15 Mar 2007 07:26:27 -0000 1.3
--- joint.h 8 Jul 2007 14:44:39 -0000 1.4
***************
*** 242,245 ****
--- 242,251 ----
float GetMaxMotorForce(EAxisIndex idx) const;
+ /** sets a joint parameter value */
+ virtual void SetParameter(int parameter, float value) = 0;
+
+ /** returns a joint parameter value */
+ virtual float GetParameter(int parameter) const = 0;
+
protected:
/** associated the created ODE joint with this node */
***************
*** 249,257 ****
boost::shared_ptr<Body> GetBody(const std::string& path);
- /** sets a joint parameter value */
- virtual void SetParameter(int parameter, float value) = 0;
-
- /** returns a joint parameter value */
- virtual float GetParameter(int parameter) const = 0;
protected:
--- 255,258 ----
|