Closed KeyWeeUsr closed 7 years ago
Apparently when the up
is up-to-date, sooner or later the main axis changes, which in my code results as switching from Y axis as up
to negative Z as up
, which basically inverts the camera. It's still useful to have a simple access to RUB though.
Working with PR #16 this PR includes the
right
,up
,back
vectors taken directly from modelview matrix for easier use for users + refreshes them when the matrices are updated in renderer (RUB should be up-to-date, but until now theup
was onlyY
axis - no refresh from modelview matrix).