metaforce/Runtime/Character/CSteeringBehaviors.hpp

22 lines
565 B
C++

#ifndef __URDE_CSTEERINGBEHAVIORS_HPP__
#define __URDE_CSTEERINGBEHAVIORS_HPP__
#include "RetroTypes.hpp"
#include "zeus/CVector3f.hpp"
namespace urde
{
class CSteeringBehaviors
{
float x0_ = M_PIF / 2.f;
public:
static zeus::CVector3f ProjectOrbitalPosition(const zeus::CVector3f& pos, const zeus::CVector3f& vel,
const zeus::CVector3f& orbitPoint, float dt, float preThinkDt);
static bool SolveQuadratic(float, float, float, float, float&, float&);
};
}
#endif // __URDE_CSTEERINGBEHAVIORS_HPP__