function CameraUtils.sanitizeAngle(Q)return(Q+math.pi)%(2*math.pi)-math.pi end
-- canonicalize an angle to +-180 degrees
function CameraUtils.sanitizeAngle(a)
	return (a + math.pi) % (2 * math.pi) - math.pi
end
