sub() public static method

public static sub ( NFVector2 va, NFVector2 vb ) : NFVector2
va NFVector2
vb NFVector2
return NFVector2
Beispiel #1
0
        public static float Distance(NFVector2 va, NFVector2 vb)
        {
            NFVector2 vector = NFVector2.sub(va, vb);

            return(vector.Length());
        }