todos
This commit is contained in:
parent
9095215cad
commit
b58ebb2775
@ -64,6 +64,7 @@ impl BufferState{
|
||||
}
|
||||
},
|
||||
BufferState::Buffered(time,mouse_state)=>{
|
||||
// TODO: deduplicate code with above case
|
||||
let timeout=*time+MOUSE_TIMEOUT;
|
||||
if timeout<ins.time{
|
||||
// duplicate the current mouse
|
||||
@ -189,6 +190,7 @@ impl MouseInterpolator{
|
||||
},
|
||||
}
|
||||
}
|
||||
// include timestamp and implement InstructionConsumer?
|
||||
pub fn pop_buffered_instruction(&mut self,ins:StepInstruction)->Option<TimedInstruction<PhysicsInputInstruction,PhysicsTimeInner>>{
|
||||
match ins{
|
||||
// could check if self.is_first_ready()
|
||||
|
Loading…
x
Reference in New Issue
Block a user