Files
prime/include/WorldFormat/CCollisionEdge.hpp
2026-06-10 23:05:09 -07:00

25 lines
534 B
C++

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