mirror of https://github.com/PrimeDecomp/prime.git
26 lines
536 B
C++
26 lines
536 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);
|
||
|
};
|
||
|
};
|
||
|
|
||
|
#endif // _COBBTREE
|