2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2017-07-05 18:34:12 +00:00
|
|
|
|
|
|
|
#include "RetroTypes.hpp"
|
|
|
|
#include "zeus/CVector3f.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CSteeringBehaviors
|
|
|
|
{
|
2018-09-07 23:51:07 +00:00
|
|
|
float x0_ = M_PIF / 2.f;
|
2017-07-05 18:34:12 +00:00
|
|
|
public:
|
2017-08-20 05:23:22 +00:00
|
|
|
static zeus::CVector3f ProjectOrbitalPosition(const zeus::CVector3f& pos, const zeus::CVector3f& vel,
|
|
|
|
const zeus::CVector3f& orbitPoint, float dt, float preThinkDt);
|
2018-09-16 23:22:35 +00:00
|
|
|
static bool SolveQuadratic(float, float, float, float, float&, float&);
|
2017-07-05 18:34:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|