Changeset 10605 for code/branches/SciptableControllerFS15
- Timestamp:
- Sep 27, 2015, 10:39:57 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/SciptableControllerFS15/src/orxonox/controllers/ScriptController.cc
r10600 r10605 235 235 switch ((int) currentEvent.d) { 236 236 case 3: 237 a = new Vector3(this->currentEvent.v1.x + 3000*cos(2*M_PI*dl),238 this->currentEvent.v1.y + 3000*sin(2*M_PI*dl),237 a = new Vector3(this->currentEvent.v1.x + this->currentEvent.e*cos(2*M_PI*dl), 238 this->currentEvent.v1.y + this->currentEvent.e*sin(2*M_PI*dl), 239 239 this->currentEvent.v1.z); 240 240 break; 241 241 case 2: 242 a = new Vector3(this->currentEvent.v1.x + 3000*cos(2*M_PI*dl),242 a = new Vector3(this->currentEvent.v1.x + this->currentEvent.e*sin(2*M_PI*dl), 243 243 this->currentEvent.v1.y, 244 this->currentEvent.v1.z + 3000*cos(2*M_PI*dl));244 this->currentEvent.v1.z + this->currentEvent.e*cos(2*M_PI*dl)); 245 245 break; 246 246 case 1: 247 247 a = new Vector3(this->currentEvent.v1.x, 248 this->currentEvent.v1.y + 3000*sin(2*M_PI*dl),249 this->currentEvent.v1.z + 3000*cos(2*M_PI*dl));248 this->currentEvent.v1.y + this->currentEvent.e*sin(2*M_PI*dl), 249 this->currentEvent.v1.z + this->currentEvent.e*cos(2*M_PI*dl)); 250 250 break; 251 251 }
Note: See TracChangeset
for help on using the changeset viewer.