prime/include/MetroidPrime/CSteeringBehaviors.hpp

28 lines
1.1 KiB
C++
Raw Permalink Normal View History

2022-10-20 11:18:42 +00:00
#ifndef _CSTEERINGBEHAVIORS
#define _CSTEERINGBEHAVIORS
#include "types.h"
2022-10-20 11:18:42 +00:00
class CVector3f;
2022-10-20 11:18:42 +00:00
class CSteeringBehaviors {
public:
static bool ProjectLinearIntersection(const CVector3f& v0, float f1, const CVector3f& v1,
const CVector3f& v2, CVector3f& v3);
static bool ProjectLinearIntersection(const CVector3f& v0, float f1, const CVector3f& v1,
const CVector3f& v2, const CVector3f& v3, CVector3f& v4);
static bool ProjectOrbitalIntersection(const CVector3f& v0, float f1, float f2,
const CVector3f& v1, const CVector3f& v2,
const CVector3f& v3, CVector3f& v4);
static bool ProjectOrbitalIntersection(const CVector3f& v0, float f1, float f2,
const CVector3f& v1, const CVector3f& v2,
const CVector3f& v3, const CVector3f& v4, CVector3f& v5);
private:
float x0_;
2022-10-20 11:18:42 +00:00
};
CHECK_SIZEOF(CSteeringBehaviors, 0x4)
2022-10-20 11:18:42 +00:00
#endif // _CSTEERINGBEHAVIORS