<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mm/include/sys_matrix.h, 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>Format Script Update (#904)</title>
<updated>2022-10-04T03:06:04+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2022-10-04T03:06:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=26207594f2b7e41e9522930fd171142a8810214e'/>
<id>26207594f2b7e41e9522930fd171142a8810214e</id>
<content type='text'>
* Bring over format.sh and .clang-tidy and run it

* Little fixes

* Adjustments

* Jenkins kick

* Jenkins kick 2

* format

* small fixes

* Bring over new formatter by Roman

Co-authored-by: Roman971 &lt;32455037+Roman971@users.noreply.github.com&gt;

* Force use of clang-11

* check_format

* Update error messages

* Fix from Tharo for python3.6

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;

* Just use nproc to determine num jobs for check format

* Update error message

* AnimatedMat_DrawStepOpa texture arg -&gt; matAnim

* Fix enTwig draw prototype

* Tidying up

* Bring over fixes in OoT #1387

Co-authored-by: Roman971 &lt;32455037+Roman971@users.noreply.github.com&gt;

* Fix

* Update doc tools

* PR

Co-authored-by: Roman971 &lt;32455037+Roman971@users.noreply.github.com&gt;
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>
* Bring over format.sh and .clang-tidy and run it

* Little fixes

* Adjustments

* Jenkins kick

* Jenkins kick 2

* format

* small fixes

* Bring over new formatter by Roman

Co-authored-by: Roman971 &lt;32455037+Roman971@users.noreply.github.com&gt;

* Force use of clang-11

* check_format

* Update error messages

* Fix from Tharo for python3.6

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;

* Just use nproc to determine num jobs for check format

* Update error message

* AnimatedMat_DrawStepOpa texture arg -&gt; matAnim

* Fix enTwig draw prototype

* Tidying up

* Bring over fixes in OoT #1387

Co-authored-by: Roman971 &lt;32455037+Roman971@users.noreply.github.com&gt;

* Fix

* Update doc tools

* PR

Co-authored-by: Roman971 &lt;32455037+Roman971@users.noreply.github.com&gt;
Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;</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>
