Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10600


Ignore:
Timestamp:
Sep 27, 2015, 9:11:20 PM (9 years ago)
Author:
landauf
Message:

fixed warnings

Location:
code/branches/SciptableControllerFS15/src/orxonox/controllers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/SciptableControllerFS15/src/orxonox/controllers/ScriptController.cc

    r10448 r10600  
    2121 *
    2222 *   Author:
    23  *      Fabian 'x3n' Landau
     23 *      ...
    2424 *   Co-authors:
    2525 *      ...
     
    3939  * "Transition Look"   | chl          | From X Coordinate    | '' Y ''  | '' Z '' | To X Coordinate      |  '' Y '' |  '' Y '' | Duration
    4040  * "Idle (Do nothing)" | idle         | Duration
    41   /
    42 
    43 // TODO: Which library can this be found in?
    44 #define M_PI 3.14159265358979323846 /* pi */
     41  */
    4542
    4643#include "ScriptController.h"
     
    8885        /* - Needed for automatically updating event times */
    8986        this->prevEventTime = 0;
    90 
    91         /* hack */
    92         this->deltat;
    9387    }
    9488
     
    171165    void ScriptController::tick(float dt)
    172166    {
    173         /* hack */
    174         this->deltat = dt;
    175 
    176167        /* Call the tick function of the classes we derive from */
    177168        SUPER(ScriptController, tick, dt);
  • code/branches/SciptableControllerFS15/src/orxonox/controllers/ScriptController.h

    r10448 r10600  
    2121 *
    2222 *   Author:
    23  *      Fabian 'x3n' Landau
     23 *      ...
    2424 *   Co-authors:
    2525 *      ...
     
    125125            float prevEventTime;
    126126
    127             /* Hack: Gain access to delta t */
    128             float deltat;
    129 
    130127            /* - Position to look at during that transition */
    131128            //Vector3 lookAtPosition;
Note: See TracChangeset for help on using the changeset viewer.