summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSonic Dreamcaster <alejandro.asenjo88@gmail.com>2025-05-20 19:00:55 -0300
committerSonic Dreamcaster <alejandro.asenjo88@gmail.com>2025-05-20 19:00:55 -0300
commitf11728b31da9b35c8fcbe69eca123d6887b764d8 (patch)
treeb54c873a129492fb0098a1f6333a2e6e244b688a
parent86dc0b0a998519ca33efaaafc2945c6b095de979 (diff)
rag rocks
-rw-r--r--src/actors/falling_rock/render.inc.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/actors/falling_rock/render.inc.c b/src/actors/falling_rock/render.inc.c
index e5ea29188..35876e3a0 100644
--- a/src/actors/falling_rock/render.inc.c
+++ b/src/actors/falling_rock/render.inc.c
@@ -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();
}