Beispiel #1
0
    public static void rotate02(SMat3 vtav, Mat3 v)
    {
        if (vtav.m02 == 0)
        {
            return;
        }

        float c = 0, s = 0;

        Schur2.rot02(vtav, c, s);
        Givens.rot02_post(v, c, s);
    }
Beispiel #2
0
    public static void rotate02(out SMat3 vtav, out Mat3 v, SMat3 ivtav, Mat3 iv)
    {
        vtav = ivtav;
        v    = iv;
        if (vtav.m02 == 0)
        {
            return;
        }

        float c, s;

        rot02(out vtav, out c, out s, vtav, c, s);
        Givens.rot02_post(out v, c, s, v);
    }