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; }