-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change math module to behave like GLSL (#738)
* Fix Mat3, Mat4 multiplication to assume column-major ordering * Add test that Mat3 multiplication is associative * examples: Fix matrix multiplication order * math: Remove look_at_direction (broken and redundant) * math: Document that behaviour matches GLSL * math: Clarify projection docs * Revert "Update Matrix reprs to show columns" This reverts (part of) commit 9a19a74. The use of pipes doesn't really communicate columns; they could still be transposed rows. To be most clear, we should show matrices in the same way they are input, as before.
- Loading branch information
Showing
4 changed files
with
63 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters