Subtract() public method

public Subtract ( AbstractVector v2 ) : AbstractVector
v2 AbstractVector
return AbstractVector
        public static FDGVector3 operator -(FDGVector3 a, FDGVector3 b)
        {
            FDGVector3 temp = new FDGVector3(a.x, a.y, a.z);

            temp.Subtract(b);
            return(temp);
        }
Beispiel #2
0
 public static FDGVector3 operator -(FDGVector3 a, FDGVector3 b)
 {
     FDGVector3 temp = new FDGVector3(a.x, a.y, a.z);
     temp.Subtract(b);
     return temp;
 }