Graphmath.Mat44.diag

You're seeing just the function diag, go back to Graphmath.Mat44 module for more information.

Specs

diag(mat44()) :: vec4()

diag( a ) selects the diagonal of a mat44.

a is the mat44 to take the diagonal of.

This returns a vec4 representing the diagonal of a.