mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-17 12:39:27 -04:00
Consistent cull_box struct usage (#2905)
* consistent cullbox usage * d_a_obj_waterPillar debug work so its not a regression
This commit is contained in:
@@ -102,7 +102,7 @@ cPhs__Step daObjKWheel01_c::create1st() {
|
||||
return phase;
|
||||
}
|
||||
|
||||
static const Vec l_cull_box[2] = {
|
||||
static const cull_box l_cull_box = {
|
||||
{-1260.0f, -3050.0f, -1260.0f},
|
||||
{1260.0f, 2800.0f, 1260.0f}
|
||||
};
|
||||
@@ -177,7 +177,7 @@ int daObjKWheel01_c::Create() {
|
||||
#endif
|
||||
}
|
||||
|
||||
fopAcM_setCullSizeBox(this, l_cull_box[0].x, l_cull_box[0].y, l_cull_box[0].z, l_cull_box[1].x, l_cull_box[1].y, l_cull_box[1].z);
|
||||
fopAcM_setCullSizeBox(this, l_cull_box.min.x, l_cull_box.min.y, l_cull_box.min.z, l_cull_box.max.x, l_cull_box.max.y, l_cull_box.max.z);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user