summaryrefslogtreecommitdiff
path: root/src/SSystem/SComponent/c_bg_w.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-05-24 18:54:46 -0400
committerGitHub <noreply@github.com>2025-05-24 18:54:46 -0400
commit7cd75e8f7b01a45ca8c72facfd5b4a3c1906c0e1 (patch)
treeece493d144cfcb3af860c2af8fa0480491f69706 /src/SSystem/SComponent/c_bg_w.cpp
parent4a29f64e6bf5a06a541161638913f51c51d8a633 (diff)
Demo matches (#767)
Diffstat (limited to 'src/SSystem/SComponent/c_bg_w.cpp')
-rw-r--r--src/SSystem/SComponent/c_bg_w.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SSystem/SComponent/c_bg_w.cpp b/src/SSystem/SComponent/c_bg_w.cpp
index c5aafd61..d76fb77e 100644
--- a/src/SSystem/SComponent/c_bg_w.cpp
+++ b/src/SSystem/SComponent/c_bg_w.cpp
@@ -208,8 +208,8 @@ void cBgW::MakeBlckBnd(int i, cXyz* min, cXyz* max) {
if (!mbNeedsFullTransform) {
MakeBlckTransMinMax(min, max);
} else {
- min->x = min->y = min->z = 1000000000.0f;
- max->x = max->y = max->z = -1000000000.0f;
+ min->x = min->y = min->z = G_CM3D_F_INF;
+ max->x = max->y = max->z = -G_CM3D_F_INF;
for (s32 j = startTri; j <= lastTri; j++) {
MakeBlckMinMax(pm_bgd->m_t_tbl[j].vtx0, min, max);