12345678910111213141516171819202122232425262728293031323334353637383940 |
- //---------------------------------------------------------------------------
- //
- // celement.h - This file contains the class declarations for the Elements
- //
- //---------------------------------------------------------------------------//
- // Copyright (C) Microsoft Corporation. All rights reserved. //
- //===========================================================================//
- #ifndef CELEMENT_H
- #define CELEMENT_H
- //---------------------------------------------------------------------------
- // Include files
- #ifndef DSTD_H
- #include "dstd.h"
- #endif
- //---------------------------------------------------------------------------
- class Element
- {
- public:
- float depth;
- bool drawNormal;
- Element (void)
- {
- depth = 1.0;
- drawNormal = TRUE;
- }
- Element (long _depth);
- Element (float _depth);
- virtual void draw (void) = 0;
- };
- //---------------------------------------------------------------------------
- #endif
|