Changeset 1728


Ignore:
Timestamp:
Aug 12, 2012, 11:47:08 PM (7 years ago)
Author:
touky
Message:

CIS MASS DESTRUCTION !
Indeed

Location:
trunk/test/Physics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/Physics/EasyPhysics.cpp

    r1724 r1728  
    309309
    310310//Set movement for this frame
    311 void EasyCharacterController::SetMovementForFrame(vec3 &MoveQuantity)
     311void EasyCharacterController::SetMovementForFrame(vec3 const &MoveQuantity)
    312312{
    313313        m_character->setWalkDirection(LOL2BT_VEC3(MoveQuantity));
  • trunk/test/Physics/EasyPhysics.h

    r1727 r1728  
    143143        virtual void AddToSimulation(class Simulation* current_simulation);
    144144        virtual void RemoveFromSimulation(class Simulation* current_simulation);
    145         virtual void SetMovementForFrame(vec3 &MoveQuantity);
     145        virtual void SetMovementForFrame(vec3 const &MoveQuantity);
    146146
    147147protected:
     
    161161        virtual void AddToSimulation(class Simulation* current_simulation) { }
    162162        virtual void RemoveFromSimulation(class Simulation* current_simulation) { }
    163         virtual void SetMovementForFrame(vec3 &MoveQuantity) { }
     163        virtual void SetMovementForFrame(vec3 const &MoveQuantity) { }
    164164
    165165#endif // PHYSIC IMPLEMENTATION
Note: See TracChangeset for help on using the changeset viewer.