/// Move the player in the *relative* Z direction by the given delta.
Move the player in the *relative* Z direction by the given delta.
Move the player in the * relative * Z direction by the given delta .
pub fn move_z(&mut self, delta: f32) {
        let (_, ry) = self.rx_ry();
        let rot = FRAC_PI_2 - ry;
        self.translation.offset.x += delta * rot.cos();
        self.translation.offset.z += delta * rot.sin();
    }
pub fn move_z ( & mut self , delta : f32 ) { let ( _ , ry ) = self . rx_ry ( ) ; let rot = FRAC_PI_2 - ry ; self . translation . offset . x += delta * rot . cos ( ) ; self . translation . offset . z += delta * rot . sin ( ) ; }
Move the player in the *relative* Z direction by the given delta.
Move the player in the * relative * Z direction by the given delta .
&mut self
delta
f32