Alvaro Cassinelli
/
skinGames_forktest
just a test
Fork of scoreLight_Advanced by
Diff: classPointMass.cpp
- Revision:
- 4:f9d364f10335
- Parent:
- 3:b44ff6de81bd
- Child:
- 5:73cd58b58f95
diff -r b44ff6de81bd -r f9d364f10335 classPointMass.cpp --- a/classPointMass.cpp Mon Apr 02 05:33:44 2012 +0000 +++ b/classPointMass.cpp Wed Apr 04 10:05:25 2012 +0000 @@ -147,6 +147,9 @@ } //------------------------------------------------------------ +void pointMass::setInitialCondition(vector2D _pos, vector2D _speed) { + setInitialCondition(_pos.x, _pos.y, _speed.x, _speed.y); +} void pointMass::setInitialCondition(float px, float py, float vx, float vy){ #ifndef VERLET_METHOD pos.set(px,py);