Antkeeper  0.0.1
Public Attributes | List of all members
ai::steering::agent Struct Reference

Autonomous agent governed by steering behaviors. More...

#include <agent.hpp>

Public Attributes

float mass
 Mass of the agent. More...
 
math::fvec3 position
 Cartesian position vector. More...
 
math::fvec3 velocity
 Velocity vector. More...
 
math::fvec3 acceleration
 Acceleration vector. More...
 
float max_force
 Maximum force. More...
 
float max_speed
 Maximum speed. More...
 
float max_speed_squared
 Maximum speed squared. More...
 
math::fquat orientation
 Orientation quaternion. More...
 
math::fvec3 forward
 Orthonormal basis forward direction vector. More...
 
math::fvec3 up
 Orthonormal basis up direction vector. More...
 

Detailed Description

Autonomous agent governed by steering behaviors.

Definition at line 32 of file agent.hpp.

Member Data Documentation

◆ acceleration

math::fvec3 ai::steering::agent::acceleration

Acceleration vector.

Definition at line 44 of file agent.hpp.

◆ forward

math::fvec3 ai::steering::agent::forward

Orthonormal basis forward direction vector.

Definition at line 59 of file agent.hpp.

◆ mass

float ai::steering::agent::mass

Mass of the agent.

Definition at line 35 of file agent.hpp.

◆ max_force

float ai::steering::agent::max_force

Maximum force.

Definition at line 47 of file agent.hpp.

◆ max_speed

float ai::steering::agent::max_speed

Maximum speed.

Definition at line 50 of file agent.hpp.

◆ max_speed_squared

float ai::steering::agent::max_speed_squared

Maximum speed squared.

Definition at line 53 of file agent.hpp.

◆ orientation

math::fquat ai::steering::agent::orientation

Orientation quaternion.

Definition at line 56 of file agent.hpp.

◆ position

math::fvec3 ai::steering::agent::position

Cartesian position vector.

Definition at line 38 of file agent.hpp.

◆ up

math::fvec3 ai::steering::agent::up

Orthonormal basis up direction vector.

Definition at line 62 of file agent.hpp.

◆ velocity

math::fvec3 ai::steering::agent::velocity

Velocity vector.

Definition at line 41 of file agent.hpp.


The documentation for this struct was generated from the following file: