<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mm/src/libultra/gu/position.c, branch main</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>Misc fixes (#1800)</title>
<updated>2025-03-24T13:52:10+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2025-03-24T13:52:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=9ca02c79b531f39b2adc92581ea9c846d8f6936a'/>
<id>9ca02c79b531f39b2adc92581ea9c846d8f6936a</id>
<content type='text'>
* disasm_fix

* dtor

* Fault_LogThreadContext

* rearrange microcode

* sGfxPrintFont size of 0x800

* Move (null) to stackcheck

* vimgr bss

* sfx

* Remove code_801D1E80

* z_en_hy_code

* Fix assembler messages with endlabels and dlabels

* xlitob data

* Move skin unused bss pad to rumble</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* disasm_fix

* dtor

* Fault_LogThreadContext

* rearrange microcode

* sGfxPrintFont size of 0x800

* Move (null) to stackcheck

* vimgr bss

* sfx

* Remove code_801D1E80

* z_en_hy_code

* Fix assembler messages with endlabels and dlabels

* xlitob data

* Move skin unused bss pad to rumble</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>Yet another libultra cleanup (#1384)</title>
<updated>2023-10-26T13:44:27+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2023-10-26T13:44:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=6475196f0fd24b1697241e3662bc732cdd81d212'/>
<id>6475196f0fd24b1697241e3662bc732cdd81d212</id>
<content type='text'>
* os symbols

* various variables

* more variables

* more cleanup

* yeet HW_REG

* OS_PHYSICAL_TO_K0 and other cleanups

* Rename r4300.h

* migrate pimgr data and cleanup on initialize.c

* rename osFlash symbols

* cleanup gu

* vimodes

* yeet rmon, do libc files

* some os files

* hardwareinterrupt

* cleanup a lot of os files

* cleanup osVirtualToPhysical

* various io files

* another io chunk

* final io chunk

* yeet hardware.h

* yeet PHYSICAL_TO_VIRTUAL and VIRTUAL_TO_PHYSICAL

* fix typo

* fix merge

* remove global.h from libultra files

* fixes and format

* brief explanation

* review

* review

* review

* review

* SEGMENTED_TO_K0

* Revert "SEGMENTED_TO_K0"

This reverts commit f8d62d670f91af401feb56489e1cbc45a1260049.

* take two

* bss

* bss</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* os symbols

* various variables

* more variables

* more cleanup

* yeet HW_REG

* OS_PHYSICAL_TO_K0 and other cleanups

* Rename r4300.h

* migrate pimgr data and cleanup on initialize.c

* rename osFlash symbols

* cleanup gu

* vimodes

* yeet rmon, do libc files

* some os files

* hardwareinterrupt

* cleanup a lot of os files

* cleanup osVirtualToPhysical

* various io files

* another io chunk

* final io chunk

* yeet hardware.h

* yeet PHYSICAL_TO_VIRTUAL and VIRTUAL_TO_PHYSICAL

* fix typo

* fix merge

* remove global.h from libultra files

* fixes and format

* brief explanation

* review

* review

* review

* review

* SEGMENTED_TO_K0

* Revert "SEGMENTED_TO_K0"

This reverts commit f8d62d670f91af401feb56489e1cbc45a1260049.

* take two

* bss

* bss</pre>
</div>
</content>
</entry>
<entry>
<title>Misc Cleanup 2 (#1260)</title>
<updated>2023-06-02T04:39:39+00:00</updated>
<author>
<name>engineer124</name>
<email>47598039+engineer124@users.noreply.github.com</email>
</author>
<published>2023-06-02T04:39:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=4b25b4d8e655c5280fd42e5c99f3971ae9b5326b'/>
<id>4b25b4d8e655c5280fd42e5c99f3971ae9b5326b</id>
<content type='text'>
* more misc cleanup

* PR suggestions

* more abs alt, csId

* more cleanup, can't help it

* fix incorrect sq

* more fixes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* more misc cleanup

* PR suggestions

* more abs alt, csId

* more cleanup, can't help it

* fix incorrect sq

* more fixes</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>`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>
<entry>
<title>position OK (#296)</title>
<updated>2021-09-21T23:54:15+00:00</updated>
<author>
<name>EllipticEllipsis</name>
<email>73679967+EllipticEllipsis@users.noreply.github.com</email>
</author>
<published>2021-09-21T23:54:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=0ebd082592a7ce6d63c9b0e6b1284af03e4b21d0'/>
<id>0ebd082592a7ce6d63c9b0e6b1284af03e4b21d0</id>
<content type='text'>
* position OK

* Actually remove the function pragmas</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* position OK

* Actually remove the function pragmas</pre>
</div>
</content>
</entry>
<entry>
<title>Sort boot files (#260)</title>
<updated>2021-08-11T02:15:31+00:00</updated>
<author>
<name>Tharo</name>
<email>17233964+Thar0@users.noreply.github.com</email>
</author>
<published>2021-08-11T02:15:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=82cc274b6aa358bab5de54f85edab1727916eb33'/>
<id>82cc274b6aa358bab5de54f85edab1727916eb33</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
