windows-nt/Source/XPSP1/NT/multimedia/opengl/test/profiler/square.h
2020-09-26 16:20:57 +08:00

29 lines
511 B
C++

#ifndef SQUARE_TEST_H
#define SQUARE_TEST_H
class SquareTest : public SkeletonTest
{
private:
typedef SkeletonTest parent;
public:
SquareTest();
virtual void INITFUNCTION();
virtual void IDLEFUNCTION();
virtual void RENDFUNCTION();
private:
// Square position and size
GLfloat fX1, fY1;
GLsizei iRsize;
// Step size in x and y directions
GLfloat fXstep, fYstep;
// Keep track of the window size
GLfloat fWindowWidth, fWindowHeight;
};
#endif // SQUARE_TEST_H