Changeset 2849 in orxonox.OLD for orxonox/branches/buerli
- Timestamp:
- Nov 13, 2004, 1:34:37 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/buerli/src/IPhys.cc
r2617 r2849 30 30 // Simulation 31 31 void IPhys::simIterate(Uint32 deltaT){ 32 Vector Accel; 32 33 switch (behav) { 33 34 case B_MASS_POINT: 35 Accel = resForce / m; 36 vel = vel + (Accel * deltaT); 37 pos = pos + (vel * deltaT); 34 38 break; 35 39 case B_RIGID_BODY: … … 38 42 break; 39 43 case I_SPRING_LINEAR: 44 40 45 break; 41 46 case I_DMPSPR_LINEAR: … … 55 60 default:; 56 61 } 62 resForce = Vector(0,0,0); 57 63 }; 58 64
Note: See TracChangeset
for help on using the changeset viewer.