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