prime/include/MetroidPrime/CSteeringBehaviors.hpp

28 lines
1.1 KiB
C++

#ifndef _CSTEERINGBEHAVIORS
#define _CSTEERINGBEHAVIORS
#include "types.h"
class CVector3f;
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_;
};
CHECK_SIZEOF(CSteeringBehaviors, 0x4)
#endif // _CSTEERINGBEHAVIORS