Changeset 10600
- Timestamp:
- Sep 27, 2015, 9:11:20 PM (9 years ago)
- Location:
- code/branches/SciptableControllerFS15/src/orxonox/controllers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/SciptableControllerFS15/src/orxonox/controllers/ScriptController.cc
r10448 r10600 21 21 * 22 22 * Author: 23 * Fabian 'x3n' Landau23 * ... 24 24 * Co-authors: 25 25 * ... … … 39 39 * "Transition Look" | chl | From X Coordinate | '' Y '' | '' Z '' | To X Coordinate | '' Y '' | '' Y '' | Duration 40 40 * "Idle (Do nothing)" | idle | Duration 41 / 42 43 // TODO: Which library can this be found in? 44 #define M_PI 3.14159265358979323846 /* pi */ 41 */ 45 42 46 43 #include "ScriptController.h" … … 88 85 /* - Needed for automatically updating event times */ 89 86 this->prevEventTime = 0; 90 91 /* hack */92 this->deltat;93 87 } 94 88 … … 171 165 void ScriptController::tick(float dt) 172 166 { 173 /* hack */174 this->deltat = dt;175 176 167 /* Call the tick function of the classes we derive from */ 177 168 SUPER(ScriptController, tick, dt); -
code/branches/SciptableControllerFS15/src/orxonox/controllers/ScriptController.h
r10448 r10600 21 21 * 22 22 * Author: 23 * Fabian 'x3n' Landau23 * ... 24 24 * Co-authors: 25 25 * ... … … 125 125 float prevEventTime; 126 126 127 /* Hack: Gain access to delta t */128 float deltat;129 130 127 /* - Position to look at during that transition */ 131 128 //Vector3 lookAtPosition;
Note: See TracChangeset
for help on using the changeset viewer.