Browse Source

CIS MASS DESTRUCTION !

Indeed
legacy
Benjamin ‘Touky’ Huet touky 12 years ago
parent
commit
fd6da1f6d9
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      test/Physics/EasyPhysics.cpp
  2. +2
    -2
      test/Physics/EasyPhysics.h

+ 1
- 1
test/Physics/EasyPhysics.cpp View File

@@ -308,7 +308,7 @@ void EasyCharacterController::RemoveFromSimulation(class Simulation* current_sim
}

//Set movement for this frame
void EasyCharacterController::SetMovementForFrame(vec3 &MoveQuantity)
void EasyCharacterController::SetMovementForFrame(vec3 const &MoveQuantity)
{
m_character->setWalkDirection(LOL2BT_VEC3(MoveQuantity));
}


+ 2
- 2
test/Physics/EasyPhysics.h View File

@@ -142,7 +142,7 @@ public:
virtual void InitBodyToGhost();
virtual void AddToSimulation(class Simulation* current_simulation);
virtual void RemoveFromSimulation(class Simulation* current_simulation);
virtual void SetMovementForFrame(vec3 &MoveQuantity);
virtual void SetMovementForFrame(vec3 const &MoveQuantity);

protected:

@@ -160,7 +160,7 @@ protected:
virtual void InitBodyToGhost() { }
virtual void AddToSimulation(class Simulation* current_simulation) { }
virtual void RemoveFromSimulation(class Simulation* current_simulation) { }
virtual void SetMovementForFrame(vec3 &MoveQuantity) { }
virtual void SetMovementForFrame(vec3 const &MoveQuantity) { }

#endif // PHYSIC IMPLEMENTATION



Loading…
Cancel
Save