コード例 #1
0
    public static double smethod_3(float float_0, float float_1, float float_2, float float_3, bool bool_0 = false)
    {
        double num  = Math.Atan2((double)float_1, (double)float_0);
        double num2 = Math.Atan2((double)float_3, (double)float_2);
        int    num3 = GClass822.smethod_1(float_0, float_1);
        int    num4 = GClass822.smethod_1(float_2, float_3);
        double num5 = num2;

        if (num3 == num4)
        {
            num5 = Math.Max(num, num2);
        }
        else if (num3 == (num4 + 1) % 4)
        {
            num5 = num;
        }
        if (!bool_0)
        {
            return(num5);
        }
        if (num5 != num)
        {
            return(num);
        }
        return(num2);
    }
コード例 #2
0
    public static bool smethod_2(float float_0, float float_1, float float_2, float float_3)
    {
        double num  = Math.Atan2((double)float_1, (double)float_0);
        double num2 = Math.Atan2((double)float_3, (double)float_2);
        int    num3 = GClass822.smethod_1(float_0, float_1);
        int    num4 = GClass822.smethod_1(float_2, float_3);
        double num5 = num2;

        if (num3 == num4)
        {
            num5 = Math.Max(num, num2);
        }
        else if (num3 == (num4 + 1) % 4)
        {
            num5 = num;
        }
        return(num5 == num2);
    }