Antkeeper  0.0.1
Namespaces | Functions
wander.cpp File Reference
#include <engine/ai/steering/behavior/wander.hpp>
#include <engine/ai/steering/behavior/seek.hpp>
#include <engine/math/random.hpp>
#include <engine/math/quaternion.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...