summaryrefslogtreecommitdiff
path: root/src/math_util_2.c
diff options
context:
space:
mode:
authorMegaMech <7255464+MegaMech@users.noreply.github.com>2025-01-05 12:26:27 -0700
committerMegaMech <7255464+MegaMech@users.noreply.github.com>2025-01-05 12:26:27 -0700
commite993944089e1aa8d967568a84107aa4b9c727228 (patch)
tree0009e5db3d9016ca112cb0445fe15de25efa2f30 /src/math_util_2.c
parent5ee24ab2aaa451442199bceccf519d9bb9e58dcf (diff)
Finishwide screen. Impl IVector2D MinimapDimensions
Diffstat (limited to 'src/math_util_2.c')
-rw-r--r--src/math_util_2.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/math_util_2.c b/src/math_util_2.c
index d378d9e42..59f3a1170 100644
--- a/src/math_util_2.c
+++ b/src/math_util_2.c
@@ -730,22 +730,6 @@ void func_80042330_default(s32 x, s32 y, u16 angle, f32 scale) {
AddHudMatrix(matrix, G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
}
-// Centers in an area of the screen for 3P mode
-void func_80042330_3P(s32 x, s32 y, u16 angle, f32 scale) {
- Mat4 matrix;
-
- s32 offset = ((OTRGetDimensionFromRightEdge(SCREEN_WIDTH) - SCREEN_WIDTH) / 2);
- // + 5 is just an alignment guess.
- x += offset + 5;
-
- mtxf_translation_x_y_rotate_z_scale_x_y(matrix, x, y, angle, scale);
- // convert_to_fixed_point_matrix(&gGfxPool->mtxHud[gMatrixHudCount], matrix);
- // gSPMatrix(gDisplayListHead++, VIRTUAL_TO_PHYSICAL(&gGfxPool->mtxHud[gMatrixHudCount++]),
- // G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
-
- AddHudMatrix(matrix, G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
-}
-
void func_80042330_portrait(s32 x, s32 y, u16 angle, f32 scale, s16 lapCount) {
Mat4 matrix;
//printf("panel %d %d %d\n", x, (s32)OTRGetDimensionFromLeftEdge(x), (s32)OTRGetDimensionFromLeftEdge(0));