You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(mat4 1.0) should create an identity matrix, but there is no applicable method for creating a matrix from a scalar.
The OpenGL wiki states:
If a matrix is constructed with a single scalar value, then that value is used to initialize all the values along the diagonal of the matrix; the rest are given zeros. Therefore, mat4(1.0) is a 4x4 identity matrix.
The text was updated successfully, but these errors were encountered:
(mat4 1.0)
should create an identity matrix, but there is no applicable method for creating a matrix from a scalar.The OpenGL wiki states:
The text was updated successfully, but these errors were encountered: