Isle
Loading...
Searching...
No Matches
legobox.cpp
Go to the documentation of this file.
1#include "legobox.h"
2
3#include "decomp.h"
4#include "misc/legoutil.h"
5
7
8// FUNCTION: LEGO1 0x100d3740
9// FUNCTION: BETA10 0x1018f83c
11{
12 LegoResult result;
13 if ((result = m_min.Read(p_storage)) != SUCCESS) {
14 return result;
15 }
16 if ((result = m_max.Read(p_storage)) != SUCCESS) {
17 return result;
18 }
19 return SUCCESS;
20}
[AI] Represents an axis-aligned 3D bounding box, defined by minimum and maximum corners.
Definition: legobox.h:11
Abstract base class providing an interface for file-like storage with binary and text read/write oper...
Definition: legostorage.h:16
#define DECOMP_SIZE_ASSERT(T, S)
Definition: decomp.h:19
LegoS32 LegoResult
[AI] Function result type (return code): typically SUCCESS (0) or FAILURE (-1).
Definition: legotypes.h:101
#define SUCCESS
[AI] Used to indicate a successful operation in result codes.
Definition: legotypes.h:30