[AI] Represents an axis-aligned 3D bounding box, defined by minimum and maximum corners.
LegoFloat GetDY()
[AI] Calculates the length of the box along the Y axis.
LegoBool IsEmpty()
[AI] Checks if both min and max vertices are set to the origin.
LegoVertex m_min
[AI] Minimum corner of the bounding box.
LegoResult Read(LegoStorage *p_storage)
[AI] Reads the bounding box data from a LegoStorage stream.
void SetMax(LegoVertex &p_max)
[AI] Sets the maximum vertex of the box.
void SetMin(LegoVertex &p_min)
[AI] Sets the minimum vertex of the box.
LegoVertex & GetMax()
[AI] Returns a reference to the maximum vertex of the box.
LegoFloat GetDX()
[AI] Calculates the length of the box along the X axis.
LegoVertex & GetMin()
[AI] Returns a reference to the minimum vertex of the box.
LegoVertex m_max
[AI] Maximum corner of the bounding box.
LegoFloat GetDZ()
[AI] Calculates the length of the box along the Z axis.
Abstract base class providing an interface for file-like storage with binary and text read/write oper...
[AI] Represents a 3D vertex with floating point coordinates.
LegoFloat GetZ()
[AI] Gets the Z coordinate.
LegoBool IsOrigin()
[AI] Checks whether the vertex is located at the origin (0,0,0).
LegoFloat GetX()
[AI] Gets the X coordinate.
LegoFloat GetY()
[AI] Gets the Y coordinate.
LegoS32 LegoResult
[AI] Function result type (return code): typically SUCCESS (0) or FAILURE (-1).
float LegoFloat
[AI] Floating point type used throughout LEGO Island.
LegoU8 LegoBool
[AI] Boolean value used throughout the codebase.