The panRad function pre-multiplies the new rotation to the old orientation, while tiltRad and rollRad post-multiply it. This leads, for example, to the following unexpected behaviour:
- roll 90 degrees to the right
- now tilting up and panning right give the exact same behaviour, which is rotating upwards (with respect to the rotated camera). This makes sense for tilting, not so much for panning.
Is this behaviour desired?
The
panRadfunction pre-multiplies the new rotation to the old orientation, whiletiltRadandrollRadpost-multiply it. This leads, for example, to the following unexpected behaviour:Is this behaviour desired?