示例#1
0
 public static Vector operator /(Vector vector, float divisor) =>
 VectorOperatorHelper.Quotient(vector, divisor);
示例#2
0
 public static Vector operator -(Vector vector) =>
 VectorOperatorHelper.Opposite(vector);
示例#3
0
 public static Vector operator *(Vector vectorA, Vector vectorB) =>
 VectorOperatorHelper.Cross(vectorA, vectorB);
示例#4
0
 public static Vector operator *(double factor, Vector vector) =>
 VectorOperatorHelper.Product(vector, (float)factor);
示例#5
0
 public static Vector operator *(float factor, Vector vector) =>
 VectorOperatorHelper.Product(vector, factor);
示例#6
0
 public static Vector operator -(Vector vectorA, Vector vectorB) =>
 VectorOperatorHelper.Subtract(vectorA, vectorB);
示例#7
0
 public static Vector operator +(Vector vectorA, Vector vectorB) =>
 VectorOperatorHelper.Sum(vectorA, vectorB);