Esempio n. 1
0
 public static KVector2 operator *(double k, KVector2 v)
 {
     return(KVector2.Multiply(k, v));
 }
Esempio n. 2
0
 public static KVector2 operator /(KVector2 v, double k)
 {
     return(KVector2.Multiply(v, 1 / k));
 }
Esempio n. 3
0
 public static KVector2 operator -(KVector2 u)
 {
     return(KVector2.Multiply(-1, u));
 }