Skip to content

Conversation

@reims
Copy link

@reims reims commented Sep 9, 2018

Some functions in the vari part of rtg-math use row-major order when constructing matrices. These matrices then cannot be used with normal GLSL operations because GLSL uses column-major order.

This pull request changes this for most of the functions that construct matrices.

I did not check all functions for this issue. Missing are (in m3 and in m4)

  • rotation-from-euler
  • adjoint
  • from-direction
  • point-at
  • look-at

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant