mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Name for bounding box in ROI (#1541)
* Name for bounding box in ROI * Use snake_case for member
This commit is contained in:
@@ -150,8 +150,8 @@ LegoResult LegoROI::Read(
|
||||
goto done;
|
||||
}
|
||||
|
||||
SET3(m_unk0x80.Min(), box.GetMin());
|
||||
SET3(m_unk0x80.Max(), box.GetMax());
|
||||
SET3(m_bounding_box.Min(), box.GetMin());
|
||||
SET3(m_bounding_box.Max(), box.GetMax());
|
||||
|
||||
if (p_storage->Read(&length, sizeof(LegoU32)) != SUCCESS) {
|
||||
goto done;
|
||||
@@ -617,8 +617,8 @@ LegoU32 LegoROI::FUN_100a9410(
|
||||
|
||||
Mx3DPointFloat local4c(p_v1);
|
||||
|
||||
local58 = m_unk0x80.Min();
|
||||
locala8 = m_unk0x80.Max();
|
||||
local58 = m_bounding_box.Min();
|
||||
locala8 = m_bounding_box.Max();
|
||||
|
||||
localc0[3] = local9c[3] = local168[3] = 1.0f;
|
||||
|
||||
|
@@ -78,7 +78,7 @@ public:
|
||||
|
||||
void SetComp(CompoundObject* p_comp) { comp = p_comp; }
|
||||
void SetBoundingSphere(const BoundingSphere& p_sphere) { m_sphere = m_world_bounding_sphere = p_sphere; }
|
||||
void SetUnknown0x80(const BoundingBox& p_unk0x80) { m_unk0x80 = p_unk0x80; }
|
||||
void SetBoundingBox(const BoundingBox& p_box) { m_bounding_box = p_box; }
|
||||
|
||||
// SYNTHETIC: LEGO1 0x100a82b0
|
||||
// LegoROI::`scalar deleting destructor'
|
||||
|
Reference in New Issue
Block a user