Function beam::rotate::y_axis_rotate [] [src]

pub fn y_axis_rotate(point: &mut PipelinePoint, theta: f32)

Rotate a 2D point about the y-axis. Theta can be any real-numbered value, but the period of rotation is 0..2pi.