Start COBBTree

Former-commit-id: e5668e767e
This commit is contained in:
2023-06-23 17:15:06 -07:00
parent 9a1022d016
commit cf8cb69b61
4 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#ifndef _CCOLLISIONEDGE
#define _CCOLLISIONEDGE
#include "types.h"
#include "Kyoto/Streams/CInputStream.hpp"
class CCollisionEdge {
public:
CCollisionEdge(CInputStream& in){
x0_index1 = in.Get<u16>();
x2_index2 = in.Get<u16>();
}
u16 GetVertIndex1() const { return x0_index1; }
u16 GetVertIndex2() const { return x2_index2; }
private:
u16 x0_index1;
u16 x2_index2;
};
#endif // _CCOLLISIONEDGE