Reconstruct base camera object matrix with priority on up vector
authorMikko Rasa <tdb@tdb.fi>
Mon, 3 Oct 2016 13:54:30 +0000 (16:54 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 3 Oct 2016 13:54:30 +0000 (16:54 +0300)
commitb70741a6810b7fe822212dd6fa9110f674a47036
tree855f55c470c65a226e2069350c890801150943f6
parent0b9fa4d7eb2acb22f5f4f31bbd508d0216421108
Reconstruct base camera object matrix with priority on up vector

In VR it's imperative that the camera object matches reality and some
applications may have a non-horizontal look vector.  The up vector on
the other hand should always point up in the user's immediate frame of
reference.
source/headtrackingcamera.cpp