diff --git a/wasm-module/src/lib.rs b/wasm-module/src/lib.rs index 7a33d35..6533e50 100644 --- a/wasm-module/src/lib.rs +++ b/wasm-module/src/lib.rs @@ -193,13 +193,6 @@ impl PlaybackHead{ pub fn get_game_controls(&self)->u32{ self.head.state().get_controls().bits() } - /// Returns an array of [pitch, yaw, roll] in radians. Yaw is not restricted to any particular range. - #[wasm_bindgen] - pub fn get_angles(&self,bot:&CompleteBot,time:f64)->Vec{ - let time=time::from_float(time).unwrap(); - let angles=self.head.get_angles(&bot.bot,time); - angles.to_array().to_vec() - } /// Returns the camera angles yaw delta between the last game tick and the most recent game tick. #[wasm_bindgen] pub fn get_angles_yaw_delta(&self)->f32{