by inamberclad · 4y ago · 0 comments
GLSL includes an inverse for fixed-sized (2,3,4) matrices, which can return NaNs for ill-conditioned inputs. But it's fine for inverting transformation matrices.
The Euclidean norm norm2() should also work as expected as well.