Пример #1
0
 public static Vector operator *(Vector a, float factor)
 {
     return(new Vector(Vector3.Multiply(a.value, factor)));
 }
Пример #2
0
 public static Vector operator *(float factor, Vector a)
 {
     return(new Vector(Vector3.Multiply(factor, a.value)));
 }