Fix typo
This commit is contained in:
@@ -69,7 +69,7 @@ public:
|
||||
|
||||
GetGraphicsAppManager()->GetRenderer()->SetScene(&scene);
|
||||
|
||||
auto input = InputManager::GetInstace();
|
||||
auto input = InputManager::GetInstance();
|
||||
actionForward = input->GetAction("forward");
|
||||
actionSide = input->GetAction("side");
|
||||
actionLookUp = input->GetAction("look up");
|
||||
@@ -97,7 +97,7 @@ public:
|
||||
nodesPool[i].SetMatrix(glm::translate(glm::mat4x4(1), glm::vec3((std::rand() % 10000) / 1000.0f - 5, (std::rand() % 10000) / 1000.0f - 5, (std::rand() % 10000) / 1000.0f - 5)));
|
||||
}
|
||||
|
||||
auto input = InputManager::GetInstace();
|
||||
auto input = InputManager::GetInstance();
|
||||
Vector3f_SIMD vec(input->GetAxis(actionSide), 0, -input->GetAxis(actionForward));
|
||||
if(Utils::length2(vec) > 1.0f)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user