2017-07-05 18:34:12 +00:00
|
|
|
#ifndef __URDE_CSTEERINGBEHAVIORS_HPP__
|
|
|
|
#define __URDE_CSTEERINGBEHAVIORS_HPP__
|
|
|
|
|
|
|
|
#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);
|
2017-07-05 18:34:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __URDE_CSTEERINGBEHAVIORS_HPP__
|