Пример #1
0
 /// <summary>
 /// Negates the rotation.
 /// </summary>
 public static Rot2f operator -(Rot2f rot)
 {
     return(Rot2f.Negate(rot));
 }
Пример #2
0
 /// <summary>
 /// Transforms a position vector.
 /// </summary>
 public static V2f InvTransformPos(Rot2f rot, V2f v)
 {
     return((M22f)Rot2f.Negate(rot) * v);
 }