diff options
| author | Dragorn421 <Dragorn421@users.noreply.github.com> | 2026-09-24 05:56:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-24 05:56:15 +0200 |
| commit | 39070bb9dd5bba8b60363b81ef0b36f4590e68f4 (patch) | |
| tree | dec35cfe12833c27ca6ac6302b0a60b9e6e12949 /src/code/sys_math3d.c | |
| parent | 5d80451f3109232d05432f67d8425ff5e7bef68a (diff) | |
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)
Diffstat (limited to 'src/code/sys_math3d.c')
| -rw-r--r-- | src/code/sys_math3d.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |
