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