Home | History | Annotate | Download | only in math

Lines Matching defs:sqw

295         float sqw = w * w;

299 float unit = sqx + sqy + sqz + sqw; // if normalized is one, otherwise
311 angles[1] = FastMath.atan2(2 * y * w - 2 * x * z, sqx - sqy - sqz + sqw); // roll or heading
313 angles[0] = FastMath.atan2(2 * x * w - 2 * y * z, -sqx + sqy - sqz + sqw); // yaw or bank