RosettaCodeData/Task/Determinant-and-permanent/GLSL/determinant-and-permanent.glsl
2023-07-01 13:44:08 -04:00

6 lines
136 B
GLSL

mat4 m1 = mat3(1, 2, 3, 4,
5, 6, 7, 8
9,10,11,12,
13,14,15,16);
float d = det(m1);