Пример #1
0
 /// <summary>
 /// Inverts this transformation in place.
 /// </summary>
 public void Invert()
 {
     Rotation.Invert();
     Translation = Rotation.Apply(-Translation);
 }
Пример #2
0
 /// <summary>
 /// Inverts this transformation in place.
 /// </summary>
 public void Invert()
 {
     Scale = 1.0 / Scale;
     Rotation.Invert();
     Translation = Rotation.Apply(-Translation) * Scale;
 }