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