mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-22 20:08:20 -06:00
Mouse speed is no longer affected by dt
This commit is contained in:
parent
ae488d090e
commit
716a5fe641
|
@ -95,9 +95,9 @@ impl Controls {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
let rotation = [
|
let rotation = [ //Do mouse inputs need to be multiplied by dt?
|
||||||
dt * self.inputs.look_h * self.sensitivity,
|
self.inputs.look_h * self.sensitivity * 0.01, //* dt
|
||||||
dt * self.inputs.look_v * self.sensitivity
|
self.inputs.look_v * self.sensitivity * 0.01 //* dt
|
||||||
];
|
];
|
||||||
//Only mouse related actions need to be reset
|
//Only mouse related actions need to be reset
|
||||||
self.inputs.look_h = 0.;
|
self.inputs.look_h = 0.;
|
||||||
|
|
Loading…
Reference in a new issue