forked from Dynamitos/MeshShadingDemo
Adding ship model
This commit is contained in:
1 parent
2fe39cfe8c
commit
a602fd0ac3
96 files changed
+21
-36
No files matched your search
@@ -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