private void processXYChange(int iXDiff, int iYDiff) {
float degXAngleDiff = (iXDiff * m_viewScale.rotationScale);
float degYAngleDiff = (iYDiff * m_viewScale.rotationScale);
// Rotate about the world-space Y axis.
m_currView.orient = Quaternion.mul(m_startDragOrient, Glm.angleAxis(degXAngleDiff, new Vec3(0.0f, 1.0f, 0.0f)));
// Rotate about the local-space X axis.
m_currView.orient = Glm.angleAxis(degYAngleDiff, new Vec3(1.0f, 0.0f, 0.0f)).mul(m_currView.orient);
}