2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CCOLLISIONSURFACE
|
|
|
|
#define _CCOLLISIONSURFACE
|
2022-09-29 23:55:38 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
#include "Kyoto/Math/CVector3f.hpp"
|
2022-10-09 23:05:06 +00:00
|
|
|
#include "Kyoto/Math/CPlane.hpp"
|
2022-09-29 23:55:38 +00:00
|
|
|
|
|
|
|
class CCollisionSurface {
|
|
|
|
public:
|
|
|
|
|
2022-10-09 23:05:06 +00:00
|
|
|
CCollisionSurface(const CVector3f&, const CVector3f&, const CVector3f&, uint flags);
|
|
|
|
|
|
|
|
CUnitVector3f GetNormal() const;
|
|
|
|
CPlane GetPlane() const;
|
2022-09-29 23:55:38 +00:00
|
|
|
|
|
|
|
private:
|
2022-10-09 23:05:06 +00:00
|
|
|
CVector3f x0_a;
|
|
|
|
CVector3f xc_b;
|
|
|
|
CVector3f x18_c;
|
2022-09-29 23:55:38 +00:00
|
|
|
uint x24_flags;
|
|
|
|
};
|
2022-10-09 23:05:06 +00:00
|
|
|
//CHECK_SIZEOF(CCollisionSurface, 0x28)
|
2022-09-29 23:55:38 +00:00
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CCOLLISIONSURFACE
|