summaryrefslogtreecommitdiff
path: root/src/code/sys_matrix.c
diff options
context:
space:
mode:
authorTharo <17233964+Thar0@users.noreply.github.com>2022-10-15 22:14:35 +0100
committerGitHub <noreply@github.com>2022-10-15 17:14:35 -0400
commit0b38f6e6785e52685a80463df3c7c85db878e8ea (patch)
tree996e25b7a87aef2db92aded47d35884751c0f11f /src/code/sys_matrix.c
parentfd24ad6e672c3175cce03d5b7f5fe2b7000f45c7 (diff)
`gbi.h` and `ucode_disas.c` cleanups (#1267)
* Merge GfxMod and Gfx, various ucode_disas improvements, gdSPDefMtx, gbi.h formatting improvements * Suggested changes * Further suggested changes * Fix matrix Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Formatting changes Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Clarify Gnoop callback * the thing Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Switch spaces, uintptr Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
Diffstat (limited to 'src/code/sys_matrix.c')
-rw-r--r--src/code/sys_matrix.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/code/sys_matrix.c b/src/code/sys_matrix.c
index d4b457ef6..f58872d07 100644
--- a/src/code/sys_matrix.c
+++ b/src/code/sys_matrix.c
@@ -1,12 +1,12 @@
#include "global.h"
// clang-format off
-Mtx gMtxClear = {
- 65536, 0, 1, 0,
- 0, 65536, 0, 1,
- 0, 0, 0, 0,
- 0, 0, 0, 0,
-};
+Mtx gMtxClear = gdSPDefMtx(
+ 1.0f, 0.0f, 0.0f, 0.0f,
+ 0.0f, 1.0f, 0.0f, 0.0f,
+ 0.0f, 0.0f, 1.0f, 0.0f,
+ 0.0f, 0.0f, 0.0f, 1.0f
+);
MtxF gMtxFClear = {
1.0f, 0.0f, 0.0f, 0.0f,