<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mm/src/code/sys_matrix.c, branch gha</title>
<subtitle>Decompilation of The Legend of Zelda: Majora’s Mask</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/'/>
<entry>
<title>Cleanup gSPMatrix, rename `Matrix_New` -&gt; `Matrix_Finalize`, add MATRIX_FINALIZE_AND_LOAD (#1729)</title>
<updated>2024-10-23T00:51:00+00:00</updated>
<author>
<name>engineer124</name>
<email>47598039+engineer124@users.noreply.github.com</email>
</author>
<published>2024-10-23T00:51:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=ec9b5839ade6b9ab5b9aa51260865ea7b894b496'/>
<id>ec9b5839ade6b9ab5b9aa51260865ea7b894b496</id>
<content type='text'>
* mtx-finalize

* cleanup gSPMatrix</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* mtx-finalize

* cleanup gSPMatrix</pre>
</div>
</content>
</entry>
<entry>
<title>More General Cleanup (#1638)</title>
<updated>2024-06-03T18:33:03+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2024-06-03T18:33:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=f26e77ba4088f20e72e13409f9ad535039abd291'/>
<id>f26e77ba4088f20e72e13409f9ad535039abd291</id>
<content type='text'>
* LINKER_FILES in makefile

* COLPOLY_GET_NORMAL

* math header

* libc

* M_PI for cosf and sinf files

* MAXFLOAT

* Revert "MAXFLOAT"

This reverts commit 96b75ffaa89b1a4ca1c08278b28bc3c70224701a.

* Remove SHT_MINV

* SHRT_MAX

* Add M_PI

* Angle macros

* f suffix

* Format</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* LINKER_FILES in makefile

* COLPOLY_GET_NORMAL

* math header

* libc

* M_PI for cosf and sinf files

* MAXFLOAT

* Revert "MAXFLOAT"

This reverts commit 96b75ffaa89b1a4ca1c08278b28bc3c70224701a.

* Remove SHT_MINV

* SHRT_MAX

* Add M_PI

* Angle macros

* f suffix

* Format</pre>
</div>
</content>
</entry>
<entry>
<title>General Cleanup 2 (#1538)</title>
<updated>2024-01-29T00:27:50+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2024-01-29T00:27:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=db8f5f5ccc89304a28aa754087a6c2bf72e55717'/>
<id>db8f5f5ccc89304a28aa754087a6c2bf72e55717</id>
<content type='text'>
* Cleanup

* Cleanup variables.h

* Cleanup fault headers

* Some includes/headers cleanup

* Libultra btn wrappers

* Mark differences to original libultra headers

* Remove duplicate include in fault

* format

* Update include/PR/os_voice.h

Co-authored-by: Tom Overton &lt;tom-overton@users.noreply.github.com&gt;

* align

---------

Co-authored-by: Tom Overton &lt;tom-overton@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Cleanup

* Cleanup variables.h

* Cleanup fault headers

* Some includes/headers cleanup

* Libultra btn wrappers

* Mark differences to original libultra headers

* Remove duplicate include in fault

* format

* Update include/PR/os_voice.h

Co-authored-by: Tom Overton &lt;tom-overton@users.noreply.github.com&gt;

* align

---------

Co-authored-by: Tom Overton &lt;tom-overton@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Speedmeter OK (#1393)</title>
<updated>2023-10-03T04:52:41+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2023-10-03T04:52:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=4ca54d704eb84b6d9f4142d4445ac1e400e14fd4'/>
<id>4ca54d704eb84b6d9f4142d4445ac1e400e14fd4</id>
<content type='text'>
* Match

* data + bss

* x

* Small cleanup

* maxVal

* gUnkTimeAcc

* SET_FULLSCREEN_VIEWPORT_HIRES

* Update permuter settings

* SET_FULLSCREEN_VIEWPORT_DYNAMIC</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Match

* data + bss

* x

* Small cleanup

* maxVal

* gUnkTimeAcc

* SET_FULLSCREEN_VIEWPORT_HIRES

* Update permuter settings

* SET_FULLSCREEN_VIEWPORT_DYNAMIC</pre>
</div>
</content>
</entry>
<entry>
<title>Port OoT's docs for `fault.c` and `fault_drawer.c` (#1199)</title>
<updated>2023-07-08T18:41:25+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2023-07-08T18:41:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=b3eae0e5b7bcc2c5d3c8a1d562f0737d80c7e35c'/>
<id>b3eae0e5b7bcc2c5d3c8a1d562f0737d80c7e35c</id>
<content type='text'>
* fault.h

* some docs stealing

* fix building

* fault_internal.h

* pass

* finish stealing docs

* finish cleanup

* format

* warning

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* review

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* arggggg

* arggggg part 2

* STACK

* PHYS_TO_K0(0x400000)

* format

* fix

* Instance

* format

* Neutral reset

* variables.h cleanup

* bss

* frameBuffer

* format

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* review

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* bss

* bss

* bss

* callback cleanup

* fix function declarations

* fix again

* bss

* bss

* Update src/overlays/actors/ovl_En_Fishing/z_en_fishing.c

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* Update src/boot_O2_g3/fault.c

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* bss

* bss

* Update src/boot_O2_g3/fault.c

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* review

* import bss

* format

* minor cleanup

* bss

* review

* fix

* bss

* bss

* bss

* bss

* bss

* format

* a

* Z_PRIORITY_FAULT

* bss

* fix

* idle.c bss doesn't want to get fixed :c

* review

* bss

---------

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;
Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fault.h

* some docs stealing

* fix building

* fault_internal.h

* pass

* finish stealing docs

* finish cleanup

* format

* warning

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* review

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* arggggg

* arggggg part 2

* STACK

* PHYS_TO_K0(0x400000)

* format

* fix

* Instance

* format

* Neutral reset

* variables.h cleanup

* bss

* frameBuffer

* format

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* review

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* bss

* bss

* bss

* callback cleanup

* fix function declarations

* fix again

* bss

* bss

* Update src/overlays/actors/ovl_En_Fishing/z_en_fishing.c

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* Update src/boot_O2_g3/fault.c

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* bss

* bss

* Update src/boot_O2_g3/fault.c

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* review

* import bss

* format

* minor cleanup

* bss

* review

* fix

* bss

* bss

* bss

* bss

* bss

* format

* a

* Z_PRIORITY_FAULT

* bss

* fix

* idle.c bss doesn't want to get fixed :c

* review

* bss

---------

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;
Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Angle Conversions (#1216)</title>
<updated>2023-04-18T20:34:58+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2023-04-18T20:34:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=823746d49530318331f29af92fa924a15f2482a1'/>
<id>823746d49530318331f29af92fa924a15f2482a1</id>
<content type='text'>
* Angle Conversions

* Format

* namefixer

* Renames in ObjHsStump_Appear

* Format

* once more

* Explicit cast in EnSsh

* Update src/overlays/actors/ovl_En_Fishing/z_en_fishing.c

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

---------

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Angle Conversions

* Format

* namefixer

* Renames in ObjHsStump_Appear

* Format

* once more

* Explicit cast in EnSsh

* Update src/overlays/actors/ovl_En_Fishing/z_en_fishing.c

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

---------

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>THA docs (#1177)</title>
<updated>2023-03-24T17:38:04+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2023-03-24T17:38:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=147e4fcedca332070ca15dbc1db358ce2d42972c'/>
<id>147e4fcedca332070ca15dbc1db358ce2d42972c</id>
<content type='text'>
* THA docs

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;

* format

* namefixer

* yada

* remove zero pad comment

* Update include/z64.h

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* Update include/thga.h

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* namefixer

* bss

* namefixer

---------

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;
Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* THA docs

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;

* format

* namefixer

* yada

* remove zero pad comment

* Update include/z64.h

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* Update include/thga.h

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* namefixer

* bss

* namefixer

---------

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;
Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Player preparation 1 (#1058)</title>
<updated>2022-11-06T23:49:04+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2022-11-06T23:49:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=a8c7a5bb8940e7890c44c1a2d95fc3bfc34750b6'/>
<id>a8c7a5bb8940e7890c44c1a2d95fc3bfc34750b6</id>
<content type='text'>
* Bring over new stuff from player.h

* door type

* PlayerModelGroup

* CSMODE

* PLAYER_PARAMS

* functions.h

* item.h

* a

* format

* ED

* stuff

* Magic_Reset

* bodyPartsPos

* format

* review

Co-authored-by: EllipticEllipsis &lt;elliptic.ellipsis@gmail.com&gt;
Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* format

* params and fixes

* GetItemId

* yes

* 2

* warnning

* closestSecretDistSq

Co-authored-by: EllipticEllipsis &lt;elliptic.ellipsis@gmail.com&gt;

* Name the other PLAYER_DOORTYPE

* review

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;
Co-authored-by: fig02 &lt;fig02srl@gmail.com&gt;

* remove pyelftools

* PlayerActionParam Player_GetExchangeItemId

* Update include/z64animation.h

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* bss

* bss

* fix linkanimation warning

* bss

* bss

* format

* fix

* namefixer

* format

* fix

* fixes

* namefixer

* bss

* fixes

Co-authored-by: EllipticEllipsis &lt;elliptic.ellipsis@gmail.com&gt;
Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;
Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;
Co-authored-by: fig02 &lt;fig02srl@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Bring over new stuff from player.h

* door type

* PlayerModelGroup

* CSMODE

* PLAYER_PARAMS

* functions.h

* item.h

* a

* format

* ED

* stuff

* Magic_Reset

* bodyPartsPos

* format

* review

Co-authored-by: EllipticEllipsis &lt;elliptic.ellipsis@gmail.com&gt;
Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* format

* params and fixes

* GetItemId

* yes

* 2

* warnning

* closestSecretDistSq

Co-authored-by: EllipticEllipsis &lt;elliptic.ellipsis@gmail.com&gt;

* Name the other PLAYER_DOORTYPE

* review

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;
Co-authored-by: fig02 &lt;fig02srl@gmail.com&gt;

* remove pyelftools

* PlayerActionParam Player_GetExchangeItemId

* Update include/z64animation.h

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* bss

* bss

* fix linkanimation warning

* bss

* bss

* format

* fix

* namefixer

* format

* fix

* fixes

* namefixer

* bss

* fixes

Co-authored-by: EllipticEllipsis &lt;elliptic.ellipsis@gmail.com&gt;
Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;
Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;
Co-authored-by: fig02 &lt;fig02srl@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Gfxprint OK (#826)</title>
<updated>2022-06-19T01:56:10+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2022-06-19T01:56:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=271b7c78276f7488f4c75328d79364f3a1cd423d'/>
<id>271b7c78276f7488f4c75328d79364f3a1cd423d</id>
<content type='text'>
* Match last two functions as well as some cleanup

* One more small cleanup

* Reviews

* format

* Move internal GFXP_FLAG defines to c file

* Format</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Match last two functions as well as some cleanup

* One more small cleanup

* Reviews

* format

* Move internal GFXP_FLAG defines to c file

* Format</pre>
</div>
</content>
</entry>
<entry>
<title>`sys_matrix` OK, documented, rename some other mathematics functions (#787)</title>
<updated>2022-05-26T03:24:39+00:00</updated>
<author>
<name>EllipticEllipsis</name>
<email>elliptic.ellipsis@gmail.com</email>
</author>
<published>2022-05-26T03:24:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=8049dec3393c4ade687dbdfd84d3ccde73168ab0'/>
<id>8049dec3393c4ade687dbdfd84d3ccde73168ab0</id>
<content type='text'>
* Import data and bss, add some name options

* Decomp rest of stack functions,
remove RSPMatrix,
split header

* sys_matrix OK (thanks Tharo)

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;

* pragma weaks in sinf and cosf, change documentation
change mcros to use 0x8000

* Rename sinf and cosf

* Correct initialisation of sMtxFClear

* More minor cleanup

* Rename stack functions

* Matrix_InsertMatrix -&gt; Matrix_Mult

* The big transpose rename

* Fix MirRay_DrawReflectedBeam

* Matrix_InsertTranslation -&gt; Matrix_Translate

* Matrix_Insert.Rotation_s -&gt; Matrix_Rotate$1S
+ RotateY -&gt; RotateYS

* Matrix_Insert(.)Rotation_f -&gt; Matrix_Rotate$1F

* Matrix_RotateStateAroundXAxis -&gt; Matrix_RotateXFApply
Matrix_SetStateXRotation -&gt; Matrix_RotateXFNew

* Matrix_MultiplyVector3fByState -&gt; Matrix_MultVec3f

* Matrix_MultiplyVector3fXZByCurrentState -&gt; Matrix_MultVec3fXZ

* Matrix_GetStateTranslation -&gt; Matrix_MultZero

* Matrix_GetStateTranslationAndScaled(.) -&gt; Matrix_MultVec$1

* Matrix_FromRSPMatrix -&gt; Matrix_MtxToMtxF

* Matrix_MultiplyVector3fByMatrix -&gt; Matrix_MultVec3fExt

* Matrix_TransposeXYZ -&gt; Matrix_Transpose

* Matrix_ToRSPMatrix -&gt; Matrix_MtxFToMtx

* Matrix_AppendToPolyOpaDisp -&gt; Matrix_MtxFToNewMtx
and document the conversion functions

* Matrix_NormalizeXYZ -&gt; Matrix_ReplaceRotation

* Matrix_InsertRotationAroundUnitVector_f -&gt; Matrix_RotateAxisF and S

* Matrix_InsertRotation -&gt; Matrix_RotateZYX

* Document the last functions

* Small cleanup

* Matrix_JointPosition -&gt; Matrix_TranslateRotateZYX

* Matrix_SetStateRotationAndTranslation -&gt; Matrix_SetTranslateRotateYXZ

* func_8018219C -&gt; Matrix_MtxFToYXZRot

* func_801822C4 -&gt; Matrix_MtxFToZYXRot

* Fix files

* Format

* Review 1

* Renames

* Fix warning in EnDragon

* Format

* Convert `mode` to an actual enum

* Add enums, typedefs, externs to sys_matrix header

* Review

* One more

* More review

* Fix function names

* Format

* Fix names

* Format

* Review

* engineer's review

* Fix build

* Format

* Fix again

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Import data and bss, add some name options

* Decomp rest of stack functions,
remove RSPMatrix,
split header

* sys_matrix OK (thanks Tharo)

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;

* pragma weaks in sinf and cosf, change documentation
change mcros to use 0x8000

* Rename sinf and cosf

* Correct initialisation of sMtxFClear

* More minor cleanup

* Rename stack functions

* Matrix_InsertMatrix -&gt; Matrix_Mult

* The big transpose rename

* Fix MirRay_DrawReflectedBeam

* Matrix_InsertTranslation -&gt; Matrix_Translate

* Matrix_Insert.Rotation_s -&gt; Matrix_Rotate$1S
+ RotateY -&gt; RotateYS

* Matrix_Insert(.)Rotation_f -&gt; Matrix_Rotate$1F

* Matrix_RotateStateAroundXAxis -&gt; Matrix_RotateXFApply
Matrix_SetStateXRotation -&gt; Matrix_RotateXFNew

* Matrix_MultiplyVector3fByState -&gt; Matrix_MultVec3f

* Matrix_MultiplyVector3fXZByCurrentState -&gt; Matrix_MultVec3fXZ

* Matrix_GetStateTranslation -&gt; Matrix_MultZero

* Matrix_GetStateTranslationAndScaled(.) -&gt; Matrix_MultVec$1

* Matrix_FromRSPMatrix -&gt; Matrix_MtxToMtxF

* Matrix_MultiplyVector3fByMatrix -&gt; Matrix_MultVec3fExt

* Matrix_TransposeXYZ -&gt; Matrix_Transpose

* Matrix_ToRSPMatrix -&gt; Matrix_MtxFToMtx

* Matrix_AppendToPolyOpaDisp -&gt; Matrix_MtxFToNewMtx
and document the conversion functions

* Matrix_NormalizeXYZ -&gt; Matrix_ReplaceRotation

* Matrix_InsertRotationAroundUnitVector_f -&gt; Matrix_RotateAxisF and S

* Matrix_InsertRotation -&gt; Matrix_RotateZYX

* Document the last functions

* Small cleanup

* Matrix_JointPosition -&gt; Matrix_TranslateRotateZYX

* Matrix_SetStateRotationAndTranslation -&gt; Matrix_SetTranslateRotateYXZ

* func_8018219C -&gt; Matrix_MtxFToYXZRot

* func_801822C4 -&gt; Matrix_MtxFToZYXRot

* Fix files

* Format

* Review 1

* Renames

* Fix warning in EnDragon

* Format

* Convert `mode` to an actual enum

* Add enums, typedefs, externs to sys_matrix header

* Review

* One more

* More review

* Fix function names

* Format

* Fix names

* Format

* Review

* engineer's review

* Fix build

* Format

* Fix again

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
</feed>
