if (!IsKeyDown(KEY_LEFT_SHIFT)) { movementSpeed = 0.5f; if (IsKeyDown(KEY_W)) camera.position = Vector3Add(camera.position, Vector3Scale(forward, movementSpeed)); if (IsKeyDown(KEY_S)) camera.position = Vector3Subtract(camera.position, Vector3Scale(forward, movementSpeed)); if (IsKeyDown(KEY_A)) camera.position = Vector3Subtract(camera.position, Vector3Scale(right, movementSpeed)); if (IsKeyDown(KEY_D)) camera.position = Vector3Add(camera.position, Vector3Scale(right, movementSpeed)); }, else if (IsKeyDown(KEY_LEFT_SHIFT)) { movementSpeed = 1.0f; if (IsKeyDown(KEY_W)) camera.position = Vector3Add(camera.position, Vector3Scale(forward, movementSpeed)); if (IsKeyDown(KEY_S)) camera.position = Vector3Subtract(camera.position, Vector3Scale(forward, movementSpeed)); if (IsKeyDown(KEY_A)) camera.position = Vector3Subtract(camera.position, Vector3Scale(right, movementSpeed)); if (IsKeyDown(KEY_D)) camera.position = Vector3Add(camera.position, Vector3Scale(right, movementSpeed)); },
!f