Skip to content

Commit f776a70

Browse files
authored
Merge pull request #27 from dbarbier/db/layout
Fix matrix representations
2 parents 4b7b4ab + 05d1e3e commit f776a70

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

04-maths.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,10 @@ We get different representations depending on the order convention (column major
335335
column-major row-major
336336
(OpenGL) (NumPy)
337337
┌ ┐ ┌ ┐ ┌ ┐ ┌ ┐ ┌ ┐
338-
│ a b c d │ × │ x │ = │ x y z w │ × │ a e i m │ = │ ax + by + cz + dw
339-
e f g h │ │ y │ └ ┘ │ b f j n │ │ ex + fy + gz + hw
340-
i j k l │ │ z │ │ c g k o │ │ ix + jy + hz + lw
341-
m n o p │ │ w │ │ d h l p │ │ mx + ny + oz + pw │
338+
│ a e i m │ × │ x │ = │ x y z w │ × │ a b c d │ = │ ax + ey + iz + mw
339+
b f j n │ │ y │ └ ┘ │ e f g h │ │ bx + fy + jz + nw
340+
c g k o │ │ z │ │ i j k l │ │ cx + gy + kz + ow
341+
d h l p │ │ w │ │ m n o p │ │ dx + hy + lz + pw │
342342
└ ┘ └ ┘ └ ┘ └ ┘
343343
344344

0 commit comments

Comments
 (0)