Beispiel #1
0
        static void Main()
        {
            // initialize math
            MathX.Init();

            // test idMatX
            //MatrixTest.Test();

            // test idPolynomial
            //Polynomial.Test();

            SimdTest.Test_f(new CmdArgs("test", false));
        }
Beispiel #2
0
        static unsafe void Init()
        {
            Debug.Assert(sizeof(bool) == 1);
            Debug.Assert(sizeof(float) == sizeof(int));
            Debug.Assert(sizeof(Vector3) == 3 * sizeof(float));

            // initialize generic SIMD implementation
            //SIMD.Init();

            // initialize math
            MathX.Init();

            // test idMatX
            //MatrixX.Test();

            // test idPolynomial
            //Polynomial.Test();
        }