-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Into matrix.glsl the transpose missing the 3 column.
Below is the corrected one.
mat4 transpose(mat4 m) {
return mat4( m[0][0], m[1][0], m[2][0], m[3][0], // new col 0
m[0][1], m[1][1], m[2][1], m[3][1], // new col 1
m[0][2], m[1][2], m[2][2], m[3][2], // new col 2
m[0][3], m[1][3], m[2][3], m[3][3] // new col 3
);
}
Metadata
Metadata
Assignees
Labels
No labels