Celement.h 981 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //---------------------------------------------------------------------------
  2. //
  3. // celement.h - This file contains the class declarations for the Elements
  4. //
  5. //---------------------------------------------------------------------------//
  6. // Copyright (C) Microsoft Corporation. All rights reserved. //
  7. //===========================================================================//
  8. #ifndef CELEMENT_H
  9. #define CELEMENT_H
  10. //---------------------------------------------------------------------------
  11. // Include files
  12. #ifndef DSTD_H
  13. #include "dstd.h"
  14. #endif
  15. //---------------------------------------------------------------------------
  16. class Element
  17. {
  18. public:
  19. float depth;
  20. bool drawNormal;
  21. Element (void)
  22. {
  23. depth = 1.0;
  24. drawNormal = TRUE;
  25. }
  26. Element (long _depth);
  27. Element (float _depth);
  28. virtual void draw (void) = 0;
  29. };
  30. //---------------------------------------------------------------------------
  31. #endif