home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 March / Gamestar_82_2006-03_dvd.iso / DVDStar / Editace / quake4_sdkv10.exe / source / game / gamesys / DebugGraph.h < prev    next >
C/C++ Source or Header  |  2005-11-14  |  242b  |  14 lines

  1. // DebugGraph.h
  2.  
  3. class idDebugGraph {
  4. public:
  5.                     idDebugGraph();
  6.     void            SetNumSamples( int num );
  7.     void            AddValue( float value );
  8.     void            Draw( const idVec4 &color, float scale ) const;
  9.  
  10. private:
  11.     idList<float>    samples;
  12.     int                index;
  13. };
  14.