rag rocks

This commit is contained in:
Sonic Dreamcaster
2025-05-20 19:00:55 -03:00
parent 86dc0b0a99
commit f11728b31d
+8 -2
View File
@@ -51,11 +51,17 @@ void render_actor_falling_rock(Camera* camera, struct FallingRock* rock) {
}
}
mtxf_pos_rotation_xyz(mtx, rock->pos, rock->rot);
// @port: Tag the transform.
FrameInterpolation_RecordOpenChild("rock", TAG_ITEM_ADDR(rock)); // Not working properly just yet
mtxf_pos_rotation_xyz(mtx, rock->pos, rock->rot);
if (render_set_position(mtx, 0) == 0) {
// @port Pop the transform id.
FrameInterpolation_RecordCloseChild();
return;
}
gSPDisplayList(gDisplayListHead++, d_course_choco_mountain_dl_falling_rock);
// @port Pop the transform id.
FrameInterpolation_RecordCloseChild();
}