1c8c44fa0SJérôme Duval /* 2c8c44fa0SJérôme Duval Copyright 1999, Be Incorporated. All Rights Reserved. 3c8c44fa0SJérôme Duval This file may be used under the terms of the Be Sample Code License. 4c8c44fa0SJérôme Duval */ 5c8c44fa0SJérôme Duval 6c8c44fa0SJérôme Duval #include <GL/gl.h> 7c8c44fa0SJérôme Duval 8*be98a602SStefano Ceccherini class FPS { 9c8c44fa0SJérôme Duval public: 10c8c44fa0SJérôme Duval FPS(); 11c8c44fa0SJérôme Duval ~FPS(); 12c8c44fa0SJérôme Duval static void drawCounter(GLfloat frameRate); 13c8c44fa0SJérôme Duval 14c8c44fa0SJérôme Duval private: 15c8c44fa0SJérôme Duval static void drawChar(GLfloat x, GLfloat y, GLint number); 16c8c44fa0SJérôme Duval }; 17ca480700SJérôme Duval 18