40#if MOCHI_LANGUAGE_CPP20
#define MOCHI_STRUCT_END()
#define MOCHI_FIELD(name)
#define MOCHI_STRUCT_BEGIN(name)
#define MOCHI_ATTRIBUTE(...)
Data for an implicit box within a model file.
Quaternion rotation
Rotation about the center of the box.
bool operator!=(Box const &other) const =default
Real3 halfExtents
Half extents of the box [m].
Real3 center
Center of the box [m].
bool operator==(Box const &other) const =default
Box(Real3 const ¢er, Real3 const &halfExtents, Quaternion const &rotation={})