Isosurface.QEFSolver.svd_rotateq_xy C# (CSharp) Method

svd_rotateq_xy() private method

private svd_rotateq_xy ( float &x, float &y, float &a, float c, float s ) : void
x float
y float
a float
c float
s float
return void
        void svd_rotateq_xy(ref float x, ref float y, ref float a, float c, float s)
        {
            float cc = c * c; float ss = s * s;
            float mx = 2.0f * c * s * a;
            float u = x; float v = y;
            x = cc * u - mx + ss * v;
            y = ss * u + mx + cc * v;
        }