From 39070bb9dd5bba8b60363b81ef0b36f4590e68f4 Mon Sep 17 00:00:00 2001 From: Dragorn421 Date: Thu, 24 Sep 2026 05:56:15 +0200 Subject: Fix misc 24 (#2760) * rm PROJECT_DIR var from makefile * fix tlutoffset missing 0x prefix * fix FTOFIX32 redef warning * `@bug:` -> `@bug` * playerFloorPoly -> sPlayerFloorPoly * fix settingChangeSuccessful use as bool * fix broken english * osEPiStartDma: use OS_MESG_PRI_HIGH * EffectSsHahen_SpawnBurst: pass OBJECT_ for objId * remove extra parens * fix trailing comma warnings in enums * EnRu1: decimal alpha * fix parens * fix ATELEM_SFX_NORMAL comment (collider "type" was renamed to material) * fix comment in Math3D_TriChkPointParaYImpl * use ANIMMODE_ more * Remove leading 0s from enum comments (as they indicate octal in C) --- src/code/sys_math3d.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/code/sys_math3d.c') diff --git a/src/code/sys_math3d.c b/src/code/sys_math3d.c index 5f41973ff..0287a64e2 100644 --- a/src/code/sys_math3d.c +++ b/src/code/sys_math3d.c @@ -636,7 +636,7 @@ s32 Math3D_PointRelativeToCubeVertices(Vec3f* point, Vec3f* min, Vec3f* max) { ret |= 0x10; } - //! @bug: The next 2 conditions are the same check. + //! @bug The next 2 conditions are the same check. if ((-min->x - min->y + max->z) < (-point->x - point->y + point->z)) { ret |= 0x20; } @@ -996,7 +996,7 @@ s32 Math3D_TriChkPointParaYImpl(Vec3f* v0, Vec3f* v1, Vec3f* v2, f32 z, f32 x, f } if (fabsf(ny) > 0.5f) { - // Do a check on each face of the triangle, if the point is within `chkDist` units return true. + // Do a check on each edge of the triangle, if the point is within `chkDist` units return true. if (Math3D_PointDistSqToLine2D(z, x, v0->z, v0->x, v1->z, v1->x, &distToEdgeSq) && (distToEdgeSq < chkDistSq)) { return true; } -- cgit v1.2.3