|
@@ -253,12 +253,12 @@ void SceneView3D::MoveCamera(float timeStep)
|
|
|
SetFocus();
|
|
SetFocus();
|
|
|
cameraNode_->Translate(Vector3::RIGHT * MOVE_SPEED * timeStep);
|
|
cameraNode_->Translate(Vector3::RIGHT * MOVE_SPEED * timeStep);
|
|
|
}
|
|
}
|
|
|
- if (input->GetKeyDown(KEY_Q))
|
|
|
|
|
|
|
+ if (input->GetKeyDown(KEY_E))
|
|
|
{
|
|
{
|
|
|
SetFocus();
|
|
SetFocus();
|
|
|
cameraNode_->Translate(Vector3::UP * MOVE_SPEED * timeStep);
|
|
cameraNode_->Translate(Vector3::UP * MOVE_SPEED * timeStep);
|
|
|
}
|
|
}
|
|
|
- if (input->GetKeyDown(KEY_E))
|
|
|
|
|
|
|
+ if (input->GetKeyDown(KEY_Q))
|
|
|
{
|
|
{
|
|
|
SetFocus();
|
|
SetFocus();
|
|
|
cameraNode_->Translate(Vector3::DOWN * MOVE_SPEED * timeStep);
|
|
cameraNode_->Translate(Vector3::DOWN * MOVE_SPEED * timeStep);
|