diff options
| author | Eblo <7004497+Eblo@users.noreply.github.com> | 2026-01-20 20:27:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-20 20:27:47 -0500 |
| commit | a4360a25cd3dfec3653890f86b812facfa6ddee3 (patch) | |
| tree | 5298f3ff34f80a3798caf7f16755ea4604ffd2b8 /mm/src/code/z_scene_proc.c | |
| parent | d7bd6f9c7df615cd1b41a5b482e2589a6a03cca0 (diff) | |
Texture scrolling interpolation, Take 2 (#1332)
* Scrolling texture interpolation
Co-authored-by: Nicholas Estelami <NEstelami@users.noreply.github.com>
* Interpolate remaining GIs
* Clean up gDPSetTileSizeInterp
---------
Co-authored-by: Nicholas Estelami <NEstelami@users.noreply.github.com>
Diffstat (limited to 'mm/src/code/z_scene_proc.c')
| -rw-r--r-- | mm/src/code/z_scene_proc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mm/src/code/z_scene_proc.c b/mm/src/code/z_scene_proc.c index ab21c94ff..1abaaa381 100644 --- a/mm/src/code/z_scene_proc.c +++ b/mm/src/code/z_scene_proc.c @@ -86,9 +86,10 @@ void AnimatedMat_DrawTexScroll(PlayState* play, s32 segment, void* params) { * Returns a pointer to a two layer texture scroll displaylist. */ Gfx* AnimatedMat_TwoLayerTexScroll(PlayState* play, AnimatedMatTexScrollParams* params) { - return Gfx_TwoTexScroll(play->state.gfxCtx, 0, params[0].xStep * sMatAnimStep, -(params[0].yStep * sMatAnimStep), - params[0].width, params[0].height, 1, params[1].xStep * sMatAnimStep, - -(params[1].yStep * sMatAnimStep), params[1].width, params[1].height); + return Gfx_TwoTexScrollEx(play->state.gfxCtx, 0, params[0].xStep * sMatAnimStep, -(params[0].yStep * sMatAnimStep), + params[0].width, params[0].height, 1, params[1].xStep * sMatAnimStep, + -(params[1].yStep * sMatAnimStep), params[1].width, params[1].height, params[0].xStep, + -(params[0].yStep), params[1].xStep, -(params[1].yStep)); } /** |
