gl_determinant (mat2) |
- Where to find it:
NodeGraph / Right Mouse Click / Add Nodes / Math / Extension Pack / D /
determinant returns the determinant of the matrix input.
The Input is evaluated as a mat2 matrix
mat2(#Input.r,#Input.g,#Input.b,#Input.a);
https://registry.khronos.org/OpenGL-Refpages/gl4/html/determinant.xhtml
- Input
Specifies the Input Matrix.
The Matrix will be constructed from the Input Channels as
mat2(#Input.r,#Input.g,#Input.b,#Input.a);
- Output
Returns the determinant