forked from StrafesNET/roblox-bot-player
show it
This commit is contained in:
@@ -41,7 +41,9 @@ impl<'a> PlayerWorker<'a>{
|
||||
Instruction::SessionControl(session_control_instruction)=>{},
|
||||
Instruction::SessionPlayback(session_playback_instruction)=>{},
|
||||
Instruction::Render=>{
|
||||
self.graphics_thread.send(strafesnet_roblox_bot_player::graphics::Instruction::Render{pos:glam::Vec3::ZERO,angles:glam::Vec2::ZERO});
|
||||
self.playback_head.advance_time(&self.bot,ins.time);
|
||||
let (pos,angles)=self.playback_head.get_position_angles(&self.bot,ins.time);
|
||||
self.graphics_thread.send(strafesnet_roblox_bot_player::graphics::Instruction::Render{pos,angles});
|
||||
},
|
||||
Instruction::Resize(physical_size)=>{},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user