mirror of https://github.com/AxioDL/metaforce.git
20 lines
456 B
C++
20 lines
456 B
C++
#pragma once
|
|
|
|
#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&);
|
|
};
|
|
|
|
}
|
|
|