- Timestamp:
- Jan 31, 2015, 5:31:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationFS14/src/modules/jump/JumpItem.cc
r10078 r10215 84 84 if ((position.x < leftBoundary_ && velocity.x < 0) || (position.x > rightBoundary_ && velocity.x > 0)) 85 85 { 86 86 velocity.x = -velocity.x; 87 87 } 88 88 89 89 if ((position.z < lowerBoundary_ && velocity.z < 0) || (position.z > upperBoundary_ && velocity.z > 0)) 90 90 { 91 91 velocity.z = -velocity.z; 92 92 } 93 93
Note: See TracChangeset
for help on using the changeset viewer.