Function rustracer::transformation::translation
source · pub fn translation(vec: Vector) -> TransformationExpand description
Return a Transformation object encoding a rigid translation.
The parameter Vector specifies the amount of shift to be
applied along the three axes.