Esempio n. 1
0
    void FIntTest()
    {
        Debug.LogError("float sin = " + Mathf.Sin(30 * Mathf.Deg2Rad));


        FInt fixAngle = FInt.PIOver180F * FInt.Create(30d);

        FInt fixAngle2 = FInt.PI * FInt.Create(30d) / FInt.Create(180);

        //FInt fixAngle = FInt.Create(30d);
        Debug.LogError("Fix sin = " + FInt.Sin(fixAngle2).ToDouble());
    }