Match and link CCollisionSurface

Former-commit-id: 736cec9baa
This commit is contained in:
2022-10-09 16:05:06 -07:00
parent b598dbb411
commit 21dfc645f5
3 changed files with 26 additions and 5 deletions

View File

@@ -4,17 +4,22 @@
#include "types.h"
#include "Kyoto/Math/CVector3f.hpp"
#include "Kyoto/Math/CPlane.hpp"
class CCollisionSurface {
public:
typedef CVector3f TVerts[3];
// TODO
CCollisionSurface(const CVector3f&, const CVector3f&, const CVector3f&, uint flags);
CUnitVector3f GetNormal() const;
CPlane GetPlane() const;
private:
TVerts x0_data;
CVector3f x0_a;
CVector3f xc_b;
CVector3f x18_c;
uint x24_flags;
};
CHECK_SIZEOF(CCollisionSurface, 0x28)
//CHECK_SIZEOF(CCollisionSurface, 0x28)
#endif // _CCOLLISIONSURFACE