Esempio n. 1
0
    public static void rotate01(SMat3 vtav, Mat3 v)
    {
        if (vtav.m01 == 0)
        {
            return;
        }

        float c = 0, s = 0;

        Schur2.rot01(vtav, c, s);
        Givens.rot01_post(v, c, s);
    }
Esempio n. 2
0
    public static void rotate01(out SMat3 vtav, out Mat3 v, SMat3 ivtav, Mat3 iv)
    {
        vtav = ivtav;
        v    = iv;
        if (vtav.m01 == 0)
        {
            return;
        }

        float c, s;

        rot01(out vtav, out c, out s, vtav, c, s);
        Givens.rot01_post(out v, c, s, v);
    }