MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / xPartitionGetTrueIdx

Function xPartitionGetTrueIdx

src/SB/Core/x/xPartition.cpp:34–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34S32 xPartitionGetTrueIdx(_tagPartition* part, S32 x_spaces, S32 y_spaces, S32 z_spaces)
35{
36 S32 idx = (y_spaces * (part->total_x * part->total_z));
37 idx += part->total_x * z_spaces;
38 idx += x_spaces;
39 return idx;
40}
41
42void xPartitionVolume(_tagPartition* part, xVolume* volume, S32 x_spaces, S32 y_spaces,
43 S32 z_spaces)

Callers 4

xPartitionVolumeFunction · 0.85
xPartitionWorldFunction · 0.85
xPartitionInsertFunction · 0.85
xPartitionUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected