Alvaro Cassinelli
/
skinGames_forktest
just a test
Fork of scoreLight_Advanced by
Diff: classPointMass.cpp
- Revision:
- 3:b44ff6de81bd
- Parent:
- 2:34157ebbf56b
- Child:
- 4:f9d364f10335
--- a/classPointMass.cpp Sat Mar 31 12:50:32 2012 +0000 +++ b/classPointMass.cpp Mon Apr 02 05:33:44 2012 +0000 @@ -209,7 +209,7 @@ speed = speed + acc*dt; pos = pos + speed*dt ;//+acc*dt*dt*0.5; #else - + // acc=0;// // The following equations are for VERLET integration with pseudo-damping: //Without damping this is just: //vector2D posNew=posOld*2 - pos + acc*dt*dt; // i.e., dampMotion=0;