Searched refs:desiredAzimuthIndex (Results 1 – 1 of 1) sorted by relevance
104 int desiredAzimuthIndex = static_cast<int>(desiredAzimuthIndexFloat); in calculateDesiredAzimuthIndexAndBlend() local105 azimuthBlend = desiredAzimuthIndexFloat - static_cast<double>(desiredAzimuthIndex); in calculateDesiredAzimuthIndexAndBlend()109 desiredAzimuthIndex = max(0, desiredAzimuthIndex); in calculateDesiredAzimuthIndexAndBlend()110 desiredAzimuthIndex = min(numberOfAzimuths - 1, desiredAzimuthIndex); in calculateDesiredAzimuthIndexAndBlend()111 return desiredAzimuthIndex; in calculateDesiredAzimuthIndexAndBlend()160 int desiredAzimuthIndex = calculateDesiredAzimuthIndexAndBlend(azimuth, azimuthBlend); in pan() local172 m_azimuthIndex = desiredAzimuthIndex; in pan()179 bool wrap = wrapDistance(m_azimuthIndex, desiredAzimuthIndex, numberOfAzimuths); in pan()181 if (m_azimuthIndex < desiredAzimuthIndex) in pan()183 else if (m_azimuthIndex > desiredAzimuthIndex) in pan()[all …]