2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CRAYCASTRESULT
|
|
|
|
#define _CRAYCASTRESULT
|
2022-09-18 05:55:13 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
#include "Kyoto/Math/CPlane.hpp"
|
|
|
|
#include "Kyoto/Math/CVector3f.hpp"
|
|
|
|
|
|
|
|
#include "Collision/CMaterialList.hpp"
|
|
|
|
|
|
|
|
class CRayCastResult {
|
|
|
|
public:
|
|
|
|
enum EInvalid {
|
|
|
|
kI_Invalid,
|
|
|
|
kI_Valid,
|
|
|
|
};
|
|
|
|
|
2022-10-09 05:37:23 +00:00
|
|
|
float GetTime() const { return x0_t; }
|
2022-09-29 05:30:20 +00:00
|
|
|
bool IsValid() const { return x20_valid; }
|
|
|
|
// GetPlane__14CRayCastResultCFv
|
|
|
|
// GetPoint__14CRayCastResultCFv
|
|
|
|
// GetMaterial__14CRayCastResultCFv
|
|
|
|
// Transform__14CRayCastResultFRC12CTransform4f
|
|
|
|
|
|
|
|
// MakeInvalid__14CRayCastResultFv
|
|
|
|
|
2022-09-18 05:55:13 +00:00
|
|
|
private:
|
2022-10-09 05:37:23 +00:00
|
|
|
float x0_t;
|
2022-09-18 05:55:13 +00:00
|
|
|
CVector3f x4_point;
|
|
|
|
CPlane x10_plane;
|
2022-09-29 05:30:20 +00:00
|
|
|
bool x20_valid;
|
2022-09-18 05:55:13 +00:00
|
|
|
CMaterialList x28_material;
|
|
|
|
};
|
|
|
|
CHECK_SIZEOF(CRayCastResult, 0x30)
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CRAYCASTRESULT
|