- Timestamp:
- Jan 3, 2005, 2:45:52 PM (20 years ago)
- Location:
- orxonox/branches/parenting/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/parenting/src/player.cc
r3323 r3325 141 141 if( bUp) { accel = accel+(direction*acceleration); } 142 142 if( bDown) { accel = accel-(direction*acceleration); } 143 if( bLeft ) { accel = accel +(orthDirection*acceleration); }144 if( bRight ) { accel = accel -(orthDirection*acceleration); }143 if( bLeft ) { accel = accel - (orthDirection*acceleration); } 144 if( bRight ) { accel = accel + (orthDirection*acceleration); } 145 145 if( bAscend ) { /* not yet implemented but just: (0,0,1)*acceleration */} 146 146 if( bDescend) {/* FIXME */} /* \todo up and down player movement */ -
orxonox/branches/parenting/src/stdincl.h
r3324 r3325 31 31 32 32 #include "vector.h" 33 #include "matrix.h"34 33 #include "curve.h" 35 34 #include "coordinates.h"
Note: See TracChangeset
for help on using the changeset viewer.