Multiply() public method

public Multiply ( float n ) : AbstractVector
n float
return AbstractVector
        public static FDGVector2 operator *(float a, FDGVector2 b)
        {
            FDGVector2 temp = new FDGVector2(b.x, b.y);

            temp.Multiply(a);
            return(temp);
        }
        public static FDGVector2 operator *(FDGVector2 a, float b)
        {
            FDGVector2 temp = new FDGVector2(a.x, a.y);

            temp.Multiply(b);
            return(temp);
        }
Ejemplo n.º 3
0
 public static FDGVector2 operator *(float a, FDGVector2 b)
 {
     FDGVector2 temp = new FDGVector2(b.x, b.y);
     temp.Multiply(a);
     return temp;
 }
Ejemplo n.º 4
0
 public static FDGVector2 operator *(FDGVector2 a, float b)
 {
     FDGVector2 temp = new FDGVector2(a.x, a.y);
     temp.Multiply(b);
     return temp;
 }