mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-22 08:15:41 -04:00
sys_math.c Rename (#1258)
* rename via comments * missed a comment * math header * name boot_80086760.c functions * PR Review * rm cam comment * Elliptic review * alphabetical
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "global.h"
|
||||
#include "fixed_point.h"
|
||||
#include "vt.h"
|
||||
#include "overlays/kaleido_scope/ovl_kaleido_scope/z_kaleido_scope.h"
|
||||
|
||||
@@ -3047,7 +3048,7 @@ void DynaPoly_AddBgActorToLookup(PlayState* play, DynaCollisionContext* dyna, s3
|
||||
newPoly->normal.z = COLPOLY_SNORMAL(newNormal.z);
|
||||
}
|
||||
|
||||
newPoly->dist = func_80086D24(-DOTXYZ(newNormal, vtxA));
|
||||
newPoly->dist = nearbyint(-DOTXYZ(newNormal, vtxA));
|
||||
if (newNormal.y > 0.5f) {
|
||||
s16 polyId = *polyStartIndex + i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user