refactor: remove heap-allocated AABBs

This commit is contained in:
orng
2026-03-28 02:58:56 -05:00
parent e48a05bb8f
commit 7101d03c6a
88 changed files with 353 additions and 387 deletions

View File

@@ -38,7 +38,7 @@ void MoveControl::tick() {
if (!_hasWanted) return;
_hasWanted = false;
int yFloor = floor(mob->bb->y0 + .5f);
int yFloor = floor(mob->bb.y0 + .5f);
double xd = wantedX - mob->x;
double zd = wantedZ - mob->z;
@@ -66,4 +66,4 @@ float MoveControl::rotlerp(float a, float b, float max) {
diff = -max;
}
return a + diff;
}
}