home *** CD-ROM | disk | FTP | other *** search
/ Xentax forum attachments archive / xentax.7z / 8090 / ModelEdit.7z / PieceLODGenDlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-03-08  |  675 b   |  28 lines

  1. #ifndef PIECELODGENDLG_H
  2. #define PIECELODGENDLG_H
  3.  
  4. #pragma once
  5.  
  6.  
  7. // dialog used to generate piece lods
  8. class CPieceLODGenDlg : public CDialog
  9. {
  10. public:
  11.     CPieceLODGenDlg( CWnd* parent = NULL );
  12.  
  13.     // template for this dialog
  14.     enum { IDD = IDD_PIECE_LOD_GEN };
  15.  
  16.     // dialog data
  17.     float m_Distance;            // distance at which this lod kicks in
  18.     float m_Percent;            // percentage of tris this lod will ideally have
  19.     float m_MaxEdgeLen;            // maximum length of an edge in the lod
  20.     unsigned m_MinNumTris;        // minimum number of tris in the lod
  21.  
  22. protected:
  23.     virtual void DoDataExchange( CDataExchange* pDX );
  24.     DECLARE_MESSAGE_MAP()
  25. };
  26.  
  27.  
  28. #endif // PIECELODGENDLG_H