prime/include/WorldFormat/COBBTree.hpp

31 lines
631 B
C++
Raw Normal View History

#ifndef _COBBTREE
#define _COBBTREE
#include "Kyoto/Math/CVector3f.hpp"
#include "WorldFormat/CCollisionEdge.hpp"
#include "rstl/vector.hpp"
class COBBTree {
struct SIndexData {
2024-10-09 02:35:42 +00:00
rstl::vector< u32 > x0_materials;
rstl::vector< u8 > x10_vertMaterials;
rstl::vector< u8 > x20_edgeMaterials;
rstl::vector< u8 > x30_surfaceMaterials;
rstl::vector< CCollisionEdge > x40_edges;
rstl::vector< u16 > x50_surfaceIndices;
rstl::vector< CVector3f > x60_vertices;
SIndexData(CInputStream& in);
};
public:
COBBTree(CInputStream& in);
~COBBTree();
2024-10-09 02:35:42 +00:00
private:
char data[0x8c];
};
#endif // _COBBTREE