GLM_GTX_matrix_operation: Extended matrix operations
GTX Extensions (Experimental)

Build diagonal matrices from vectors.

<glm/gtx/matrix_operation.hpp> need to be included to use these functionalities.