remove incorrect comment
This commit is contained in:
parent
0d9c6648e2
commit
08bd57ffe1
@ -134,9 +134,6 @@ impl WindowContext<'_>{
|
|||||||
Err(e)=>println!("Could not set cursor position: {:?}",e),
|
Err(e)=>println!("Could not set cursor position: {:?}",e),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//do not step the physics because the mouse polling rate is higher than the physics can run.
|
|
||||||
//essentially the previous input will be overwritten until a true step runs
|
|
||||||
//which is fine because they run all the time.
|
|
||||||
self.mouse_pos+=glam::dvec2(delta.0,delta.1);
|
self.mouse_pos+=glam::dvec2(delta.0,delta.1);
|
||||||
self.physics_thread.send(TimedInstruction{
|
self.physics_thread.send(TimedInstruction{
|
||||||
time,
|
time,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user