Recast Navigation
Navigation-mesh Toolset for Games
ValueHistory Class Reference

#include <ValueHistory.h>

Public Member Functions

 ValueHistory ()
 
void addSample (const float val)
 
int getSampleCount () const
 
float getSample (const int i) const
 
float getSampleMin () const
 
float getSampleMax () const
 
float getAverage () const
 

Constructor & Destructor Documentation

◆ ValueHistory()

ValueHistory::ValueHistory ( )

Member Function Documentation

◆ addSample()

void ValueHistory::addSample ( const float  val)
inline

◆ getAverage()

float ValueHistory::getAverage ( ) const

◆ getSample()

float ValueHistory::getSample ( const int  i) const
inline

◆ getSampleCount()

int ValueHistory::getSampleCount ( ) const
inline

◆ getSampleMax()

float ValueHistory::getSampleMax ( ) const

◆ getSampleMin()

float ValueHistory::getSampleMin ( ) const

The documentation for this class was generated from the following files: