6 ms·
Probably wise: there are too many ways to do it, each with different behavior for ill-conditioned matrices. GLSL includes an inverse for fixed-sized (2,3,4) ma
by tlb 4y ago
Probably wise: there are too many ways to do it, each with different behavior for ill-conditioned matrices.
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.