예제 #1
0
    // vector 2 //
    public static bool About(this Vector2 _vec, Vector2 _value)
    {
        float mag  = _vec.magnitude;
        float mag2 = _value.magnitude;

        if (mag.About(mag2))
        {
            return(true);
        }
        else
        {
            return(false);
        }
    }