mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-05-17 15:11:21 +00:00
Retro seemingly avoided using the Dolphin typedefs in most places, opting to use int/uint instead. This likely means they didn't use u8/s8/u16/s16/etc either. Former-commit-id: 133326ae406a0ebc76f56f8bcb489fda280be2be
37 lines
725 B
C++
37 lines
725 B
C++
#ifndef _CRAYCASTRESULT
|
|
#define _CRAYCASTRESULT
|
|
|
|
#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,
|
|
};
|
|
|
|
float GetTime() const { return x0_t; }
|
|
bool IsValid() const { return x20_valid; }
|
|
// GetPlane__14CRayCastResultCFv
|
|
// GetPoint__14CRayCastResultCFv
|
|
// GetMaterial__14CRayCastResultCFv
|
|
// Transform__14CRayCastResultFRC12CTransform4f
|
|
|
|
// MakeInvalid__14CRayCastResultFv
|
|
|
|
private:
|
|
float x0_t;
|
|
CVector3f x4_point;
|
|
CPlane x10_plane;
|
|
bool x20_valid;
|
|
CMaterialList x28_material;
|
|
};
|
|
CHECK_SIZEOF(CRayCastResult, 0x30)
|
|
|
|
#endif // _CRAYCASTRESULT
|