fix: double movement speed for smoother camera control
This commit is contained in:
@@ -325,7 +325,7 @@ fn main() {
|
||||
// Handle keyboard input for camera movement and rotation
|
||||
if let Ok(keys) = pressed_keys.lock() {
|
||||
// movement speed
|
||||
let speed = 2.5 * delta_time;
|
||||
let speed = 5.0 * delta_time;
|
||||
// camera direction vectors based on yaw & pitch
|
||||
let front = glm::vec3(
|
||||
cam_yaw.sin() * cam_pitch.cos(),
|
||||
|
||||
Reference in New Issue
Block a user