Changeset 4704 in orxonox.OLD for orxonox/trunk/src/subprojects
- Timestamp:
- Jun 26, 2005, 4:13:11 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/subprojects/collision_detection/collision_detection.cc
r4701 r4704 38 38 int drawMode; 39 39 int depth; 40 float iterata; 40 41 tList<WorldEntity>* entityList; 41 42 … … 43 44 bool drawModel; 44 45 45 TestEntity* a;46 Environment* a; 46 47 Environment* b; 47 48 … … 68 69 entityList = new tList<WorldEntity>(); 69 70 70 a = new TestEntity(); a->setName("Clown1"); 71 //a = new TestEntity(); a->setName("Clown1"); 72 a = new Environment(); a->setName("Clown"); 71 73 b = new Environment(); b->setName("Jaeger"); 72 74 b->setRelCoor(0.0, 0.0, -10.0); … … 92 94 depth = 0; 93 95 dt = lastFrame = currentFrame = 0; 94 96 iterata = 0.05f; 95 97 96 98 moduleHelp(); … … 198 200 } 199 201 break; 202 case SDLK_o: 203 if(iterata == 0.0f) 204 { 205 iterata = 0.05f; 206 } 207 else 208 { 209 iterata = 0.0f; 210 } 211 break; 200 212 201 213 } … … 227 239 } 228 240 229 b->shiftCoor(Vector(0.0, 0.0, 0.1));241 b->shiftCoor(Vector(0.0, 0.0, iterata)); 230 242 231 243
Note: See TracChangeset
for help on using the changeset viewer.