Function rustracer::transformation::scaling
source · pub fn scaling(vec: Vector) -> TransformationExpand description
Return a Transformation object encoding a scaling.
The parameter Vector specifies the amount of scaling
along the three directions X, Y, Z.