diff options
| author | louist103 <35883445+louist103@users.noreply.github.com> | 2021-08-21 19:12:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-22 01:12:57 +0200 |
| commit | 556cdad7eba75560ec57533e3d60e850fd1acf4c (patch) | |
| tree | b7dba0a5409edf92ccd500aa4d1b13a53bbe5975 /src/code/sys_math3d.c | |
| parent | 17c79a8f60fed52b974f757ab2cfaa94ae4d466c (diff) | |
Big cleanup (#775)
* Adult and child2 macros OK
* ICHAIN cleanup
* almost all overlay data
* format.sh
* func_8002FBAC NON_EQUIVALENT
* PR fixes (MZXrules)
* fix
* change //@ bug to //! @bug
* merge master and missed a //@bug
* fix ruto
* some more cleanup (#2)
* more `! @bug` formatting cleanup
* parenthesis cleanup
* hex naviEnemyId
* run formatter
* replace `IS_NOT_` macros with `!IS_`
* run formatter
* run formatter
* PR fixes (fig)
* Missed something
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
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 620ddee94..b3509751a 100644 --- a/src/code/sys_math3d.c +++ b/src/code/sys_math3d.c @@ -626,7 +626,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; } @@ -726,7 +726,7 @@ s32 Math3D_LineVsCube(Vec3f* min, Vec3f* max, Vec3f* a, Vec3f* b) { triVtx1.y = min->y; triVtx1.z = max->z; triVtx2.x = max->x; - // @Bug trVtx1.y should be triVtx2.y, prevents a tri on the cube from being checked. + //! @bug trVtx1.y should be triVtx2.y, prevents a tri on the cube from being checked. triVtx1.y = min->y; triVtx2.z = max->z; if (Math3D_TriLineIntersect(&triVtx0, &triVtx1, &triVtx2, 0.0f, 0.0f, 1.0f, -max->z, a, b, &intersectPoint, 0)) { |
