mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-23 15:31:15 +00:00
Cleanup gSPMatrix, rename Matrix_New
-> Matrix_Finalize
, add MATRIX_FINALIZE_AND_LOAD
(#1983)
* clean up gSPMatrix usage * add weird hybrid macro gSPMATRIX_SET_NEW * Matrix_NewMtx, MATRIX_NEW -> Matrix_Finalize, MATRIX_FINALIZE * gSPMATRIX_SET_NEW -> MATRIX_FINALIZE_AND_LOAD * format
This commit is contained in:
parent
2e79b83bb8
commit
5441559b30
268 changed files with 702 additions and 1272 deletions
|
@ -531,7 +531,7 @@ void EnMm_Draw(Actor* thisx, PlayState* play) {
|
|||
mtx = GRAPH_ALLOC(play->state.gfxCtx, sizeof(Mtx) * 2);
|
||||
|
||||
Matrix_Put(&this->unk_208);
|
||||
mtx2 = MATRIX_NEW(play->state.gfxCtx, "../z_en_mm.c", 1111);
|
||||
mtx2 = MATRIX_FINALIZE(play->state.gfxCtx, "../z_en_mm.c", 1111);
|
||||
|
||||
gSPSegment(POLY_OPA_DISP++, 0x06, play->objectCtx.slots[linkChildObjectSlot].segment);
|
||||
gSPSegment(POLY_OPA_DISP++, 0x0B, mtx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue