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