Ejemplo n.º 1
0
 public static void Validate(this System.Numerics.Quaternion q)
 {
     if (IsInvalid(q.LengthSquared()))
     {
         throw new NotFiniteNumberException("Invalid value.");
     }
 }