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 = [
|
||||
dt * self.inputs.look_h * self.sensitivity,
|
||||
dt * self.inputs.look_v * self.sensitivity
|
||||
let rotation = [ //Do mouse inputs need to be multiplied by dt?
|
||||
self.inputs.look_h * self.sensitivity * 0.01, //* dt
|
||||
self.inputs.look_v * self.sensitivity * 0.01 //* dt
|
||||
];
|
||||
//Only mouse related actions need to be reset
|
||||
self.inputs.look_h = 0.;
|
||||
|
|
Loading…
Reference in a new issue