Function rustracer::transformation::rotation_y
source · pub fn rotation_y(theta: f32) -> Transformation
Expand description
Return a Transformation
object encoding a rotation around the Y axis.
The parameter theta
specifies the rotation angle (in degrees).
The positive sign is given by the right-hand rule.