Pass the x and y coordinates of the last and current positions of the mouse, scaled so they are from (-1.0 ... 1.0).
The resulting rotation is returned as a quaternion rotation in the first paramater.
See Implementation
Pass the x and y coordinates of the last and current positions of the mouse, scaled so they are from (-1.0 ... 1.0).
The resulting rotation is returned as a quaternion rotation in the first paramater.