Divide() public méthode

public Divide ( float n ) : AbstractVector
n float
Résultat AbstractVector
        public static FDGVector2 operator /(float a, FDGVector2 b)
        {
            FDGVector2 temp = new FDGVector2(b.x, b.y);

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

            temp.Divide(b);
            return(temp);
        }
Exemple #3
0
 public static FDGVector2 operator /(float a, FDGVector2 b)
 {
     FDGVector2 temp = new FDGVector2(b.x, b.y);
     temp.Divide(a);
     return temp;
 }
Exemple #4
0
 public static FDGVector2 operator /(FDGVector2 a, float b)
 {
     FDGVector2 temp = new FDGVector2(a.x, a.y);
     temp.Divide(b);
     return temp;
 }