Changeset 10505 for code/branches/presentationFS15/src/orxonox
- Timestamp:
- May 28, 2015, 11:26:38 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationFS15/src/orxonox/controllers/ScriptController.cc
r10489 r10505 245 245 switch ((int) currentEvent.d) { 246 246 case 3: 247 a = new Vector3(this->currentEvent.v1.x + 3000*cos(2*M_PI*dl),248 this->currentEvent.v1.y + 3000*sin(2*M_PI*dl),247 a = new Vector3(this->currentEvent.v1.x + this->currentEvent.e *cos(2*M_PI*dl), 248 this->currentEvent.v1.y + this->currentEvent.e*sin(2*M_PI*dl), 249 249 this->currentEvent.v1.z); 250 250 break; 251 251 case 2: 252 a = new Vector3(this->currentEvent.v1.x + 3000*cos(2*M_PI*dl),252 a = new Vector3(this->currentEvent.v1.x + this->currentEvent.e*sin(2*M_PI*dl), 253 253 this->currentEvent.v1.y, 254 this->currentEvent.v1.z + 3000*cos(2*M_PI*dl));254 this->currentEvent.v1.z + this->currentEvent.e*cos(2*M_PI*dl)); 255 255 break; 256 256 case 1: 257 257 a = new Vector3(this->currentEvent.v1.x, 258 this->currentEvent.v1.y + 3000*sin(2*M_PI*dl),259 this->currentEvent.v1.z + 3000*cos(2*M_PI*dl));258 this->currentEvent.v1.y + this->currentEvent.e*sin(2*M_PI*dl), 259 this->currentEvent.v1.z + this->currentEvent.e*cos(2*M_PI*dl)); 260 260 break; 261 261 }
Note: See TracChangeset
for help on using the changeset viewer.