mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-17 09:27:02 +00:00
22
include/WorldFormat/CCollisionEdge.hpp
Normal file
22
include/WorldFormat/CCollisionEdge.hpp
Normal 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
|
||||
Reference in New Issue
Block a user