(&self)
| 20 | |
| 21 | impl Player { |
| 22 | pub fn coordinate_transform(&self) -> CommandCoordinateTransform { |
| 23 | CommandCoordinateTransform::new_partial( |
| 24 | self.position, |
| 25 | self.position + Vec3::new(0.0, 1.5, 0.0), |
| 26 | Vec3::get_vector_for_rotation(self.pitch.into(), self.yaw.into()), |
| 27 | ) |
| 28 | } |
| 29 | |
| 30 | pub fn execute_command<C: PlayerExecutableCommand>( |
| 31 | &mut self, |
no outgoing calls
no test coverage detected