forked from StrafesNET/strafe-client
rename
This commit is contained in:
parent
2356286dc2
commit
3775fd0b14
@ -37,11 +37,11 @@ impl RenderState{
|
|||||||
graphics.generate_models(indexed_model_instances);
|
graphics.generate_models(indexed_model_instances);
|
||||||
//manual reset
|
//manual reset
|
||||||
}
|
}
|
||||||
pub fn into_worker(mut self)->crate::worker::CNWorker<TimedInstruction<InputInstruction>>{
|
pub fn into_worker(mut self)->crate::worker::QNWorker<TimedInstruction<InputInstruction>>{
|
||||||
let mut mouse_blocking=true;
|
let mut mouse_blocking=true;
|
||||||
let mut last_mouse_time=self.physics.next_mouse.time;
|
let mut last_mouse_time=self.physics.next_mouse.time;
|
||||||
let mut timeline=std::collections::VecDeque::new();
|
let mut timeline=std::collections::VecDeque::new();
|
||||||
crate::worker::CNWorker::new(move |ins:TimedInstruction<InputInstruction>|{
|
crate::worker::QNWorker::new(move |ins:TimedInstruction<InputInstruction>|{
|
||||||
let mut render=false;
|
let mut render=false;
|
||||||
if if let Some(phys_input)=match ins.instruction{
|
if if let Some(phys_input)=match ins.instruction{
|
||||||
InputInstruction::MoveMouse(m)=>{
|
InputInstruction::MoveMouse(m)=>{
|
||||||
|
Loading…
Reference in New Issue
Block a user