Reference to the current point updating the camera modification.
Reference to the initial point starting the camera modification.
Copy of a camera for ongoing camera modifications based on previous/initial camera settings.
Current rotation matrix.
The camera that is to be modified in response to various events.
Rotational sensitivity.
Rotational sensitivity.
Initiate a new turntable rotation at a specific event position.
Position of the current event to derive the magnitude for rotation from.
Update the turntable rotation w.r.t. a specific event position.
Position of the current event to derive the magnitude for rotation from.
Actually applies the trackball rotation to the given camera.
Math for camera rotation based on the turntable metaphor. The rotation computed by an initial (@see startRotate) and subsequent (@see updateRotate) event points and can be applied to a camera via an explicit update (@see update). In contrast to the trackball, this metaphor is usually less confusing for non-professionals.