metaforce/Runtime/Character/CSteeringBehaviors.hpp

20 lines
456 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
#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;
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&);
};
}