1
0
Fork 0
mirror of https://github.com/isledecomp/isle.git synced 2024-12-23 14:32:41 -05:00
isle/LEGO1/lego/sources/geom/legobox.cpp

20 lines
369 B
C++
Raw Normal View History

#include "legobox.h"
#include "decomp.h"
#include "misc/legoutil.h"
DECOMP_SIZE_ASSERT(LegoBox, 0x18)
// FUNCTION: LEGO1 0x100d3740
LegoResult LegoBox::Read(LegoStorage* p_storage)
{
LegoResult result;
if ((result = m_min.Read(p_storage)) != SUCCESS) {
return result;
}
if ((result = m_max.Read(p_storage)) != SUCCESS) {
return result;
}
return SUCCESS;
}