Lines Matching refs:qx
4092 I32 qx = cast<I32>(floor_(65536.0f * x + 0.5f)) - 32768,
4095 // Calculate screen coordinates sx & sy by flooring qx and qy.
4096 I32 sx = qx >> 16,
4099 // We are going to perform a change of parameters for qx on [0, 1) to tx on [-1, 1).
4101 // Calculate tx and ty on the interval of [-1, 1). Give {qx} and {qy} are on the interval
4104 // tx = 2 * {qx} - 1, so
4105 // {qx} = (tx + 1) / 2.
4106 // Calculate {qx} - 1 and {qy} - 1 where the {} operation is handled by the cast, and the - 1
4109 I16 tx = cast<I16>(qx ^ 0x8000),
4112 // Substituting the {qx} by the equation for tx from above into the lerp equation where v is
4114 // v = {qx}*(R - L) + L,