예제 #1
0
 /// <summary>
 /// Scales the transform by the given 3D <paramref name="scale"/> factor.
 /// The operation is done in the parent/global frame, equivalent to
 /// multiplying the matrix from the left.
 /// </summary>
 /// <param name="scale">The scale to introduce.</param>
 /// <returns>The scaled transformation matrix.</returns>
 public Transform3D Scaled(Vector3 scale)
 {
     return(new Transform3D(basis.Scaled(scale), origin * scale));
 }