etqw-sdk/source/game/gamesys/DebugGraph.h

16 lines
300 B
C++

// Copyright (C) 2007 Id Software, Inc.
//
// 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;
};