Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
511 B

  1. #ifndef SQUARE_TEST_H
  2. #define SQUARE_TEST_H
  3. class SquareTest : public SkeletonTest
  4. {
  5. private:
  6. typedef SkeletonTest parent;
  7. public:
  8. SquareTest();
  9. virtual void INITFUNCTION();
  10. virtual void IDLEFUNCTION();
  11. virtual void RENDFUNCTION();
  12. private:
  13. // Square position and size
  14. GLfloat fX1, fY1;
  15. GLsizei iRsize;
  16. // Step size in x and y directions
  17. GLfloat fXstep, fYstep;
  18. // Keep track of the window size
  19. GLfloat fWindowWidth, fWindowHeight;
  20. };
  21. #endif // SQUARE_TEST_H