Skip to content
Snippets Groups Projects
Commit 0da4aa9d authored by Romain Vimont's avatar Romain Vimont Committed by Romain Vimont
Browse files

opengl: fix 2x3 matrix multiplication

To multiply two 2x3 matrices, the right matrix must be expanded to 3x3,
by adding a row [0 0 1], so that the dimensions match (2x3 x 3x3 = 2x3).

The matrix multiplication was erroneous: it behaved as if the matrix was
expanded by an implicit row [1 1 1] instead.

The error has been introduced by
31c20009.
parent 64f2e3b4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment