Adding ship model

This commit is contained in:
Dynamitos committed 2024-08-26 22:33:22 +02:00
1 parent 2fe39cfe8c
commit a602fd0ac3
96 files changed
+21 -36

No files matched your search

+1 -1
View File
@@ -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;