Adding ship model
This commit is contained in:
@@ -6,7 +6,7 @@ FlyCamSystem::FlyCamSystem(PScene scene)
|
||||
FlyCamSystem::~FlyCamSystem() {}
|
||||
|
||||
void FlyCamSystem::update(Component::KeyboardInput& input, Component::Camera& camera, Component::Transform& transform, Component::PointLight& light) {
|
||||
float cameraMove = static_cast<float>(deltaTime);
|
||||
float cameraMove = static_cast<float>(deltaTime) * 10;
|
||||
if(input.keys[KeyCode::KEY_LEFT_SHIFT])
|
||||
{
|
||||
cameraMove *= 10;
|
||||
|
||||
Reference in New Issue
Block a user