mirror of https://github.com/PrimeDecomp/prime.git
31 lines
631 B
C++
31 lines
631 B
C++
#ifndef _COBBTREE
|
|
#define _COBBTREE
|
|
|
|
#include "Kyoto/Math/CVector3f.hpp"
|
|
|
|
#include "WorldFormat/CCollisionEdge.hpp"
|
|
|
|
#include "rstl/vector.hpp"
|
|
|
|
class COBBTree {
|
|
struct SIndexData {
|
|
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();
|
|
|
|
private:
|
|
char data[0x8c];
|
|
};
|
|
|
|
#endif // _COBBTREE
|