quake4-sdk/source/mpgame/gamesys/DebugGraph.h

14 lines
242 B
C++

// DebugGraph.h
class idDebugGraph {
public:
idDebugGraph();
void SetNumSamples( int num );
void AddValue( float value );
void Draw( const idVec4 &color, float scale ) const;
private:
idList<float> samples;
int index;
};