Get the trace of the matrix (sum of the values along the diagonal)
mat = raylib.MatrixIdentity t = raylib.MatrixTrace(mat) print t // 4 (sum of diagonal of 4x4 identity)
There was an error while loading. Please reload this page.