2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 01:07:43 +00:00

CPVSVisOctree: Initialize in-class member variables where applicable

Provides a deterministic initial state for the default constructor.
This commit is contained in:
Lioncash
2020-03-07 04:59:04 -05:00
parent 4034e3b31f
commit 8d42eb4287
2 changed files with 11 additions and 7 deletions

View File

@@ -10,10 +10,10 @@ namespace urde {
class CPVSVisOctree {
zeus::CAABox x0_aabb;
u32 x18_numObjects;
u32 x1c_numLights;
bool x20_bufferFlag;
const u8* x24_octreeData;
u32 x18_numObjects = 0;
u32 x1c_numLights = 0;
bool x20_bufferFlag = false;
const u8* x24_octreeData = nullptr;
zeus::CAABox x2c_searchAabb;
public: