Antkeeper  0.0.1
Namespaces | Functions
wander.hpp File Reference
#include <engine/ai/steering/agent.hpp>
#include <engine/math/vector.hpp>

Go to the source code of this file.

Namespaces

 ai
 Artificial intelligence (AI)
 
 ai::steering
 Autonomous agent steering.
 
 ai::steering::behavior
 

Functions

math::fvec3 ai::steering::behavior::wander_2d (const agent &agent, float noise, float distance, float radius, float &angle)
 Steers an agent in a continuously shifting random direction on the yaw plane. More...
 
math::fvec3 ai::steering::behavior::wander_3d (const agent &agent, float noise, float distance, float radius, float &theta, float &phi)
 Steers an agent in a continuously shifting random direction. More...