Skip to content

Conversation

ainodalok
Copy link

A fix for a function that calculates adjugate of a 4x4 matrix in glm\gtx\matrix_operations.inl

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > adjugate (mat< 4, 4, T, Q > const &m)

Minor m02 was derived from a 3x3 submatrix which element [1][1] was m[2][2] instead of the m[2][1].

@Groovounet
Copy link
Member

I am guessing a unit test would be great...

@Groovounet Groovounet merged commit 596577f into g-truc:master Nov 9, 2020
@Groovounet
Copy link
Member

Thanks for contributing

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.

2 participants