forked from StrafesNET/strafe-client
todo
This commit is contained in:
parent
b376c03bde
commit
ead0e33546
@ -52,6 +52,8 @@ fn drain_queue(physics:&mut crate::physics::PhysicsContext,iterable:impl IntoIte
|
||||
}
|
||||
impl MouseInterpolator{
|
||||
fn handle_instruction(&mut self,physics:&mut crate::physics::PhysicsContext,ins:TimedInstruction<InputInstruction>){
|
||||
//need to handle the case where mouse polling rate is less than 100hz
|
||||
//also the whole thing is probably wrong lol
|
||||
let is_inserting_mouse_instruction=matches!(ins.instruction,InputInstruction::MoveMouse(_));
|
||||
self.queue.push_back(ins);
|
||||
//We just pushed an element.
|
||||
|
Loading…
Reference in New Issue
Block a user