Update of /cvsroot/plib/plib/src/sg
In directory usw-pr-cvs1:/tmp/cvs-serv30678/plib/src/sg
Modified Files:
sg.h
Log Message:
Oops! Committed the wrong version!
Index: sg.h
===================================================================
RCS file: /cvsroot/plib/plib/src/sg/sg.h,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- sg.h 11 Aug 2002 14:07:09 -0000 1.37
+++ sg.h 11 Aug 2002 14:11:18 -0000 1.38
@@ -2675,8 +2675,8 @@
float *getPos () { return pos ; }
float *getVel () { return vel ; }
float *getForce () { return force ; }
- float *getOneOverMass () { return ooMass ; }
- float *getMass () { return 1.0f / ooMass ; }
+ float getOneOverMass () { return ooMass ; }
+ float getMass () { return 1.0f / ooMass ; }
void setPos ( sgVec3 p ) { sgCopyVec3 ( pos , p ) ; }
void setVel ( sgVec3 v ) { sgCopyVec3 ( vel , v ) ; }
@@ -2693,7 +2693,7 @@
void zeroForce () { sgZeroVec3 ( force ) ; }
void addForce ( sgVec3 f ) { sgAddVec3 ( force, f ) ; }
- void gravityOnly () { sgScaleVec3 ( force, sgGetGravity (), ooMass ) ; }
+ void gravityOnly () { sgScaleVec3 ( force, sgGetGravityVec3 (), ooMass ) ; }
void update ( float dt )
{
|