Counter Strike : Global Offensive Source Code
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.

33 lines
806 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #ifndef DISPSUBDIV_H
  9. #define DISPSUBDIV_H
  10. #if defined ( _WIN32 )
  11. #pragma once
  12. #endif
  13. class CMapDisp;
  14. //=============================================================================
  15. class IEditDispSubdivMesh
  16. {
  17. public:
  18. virtual void Init( void ) = 0;
  19. virtual void Shutdown( void ) = 0;
  20. virtual void AddDispTo( CMapDisp *pDisp ) = 0;
  21. virtual void GetDispFrom( CMapDisp *pDisp ) = 0;
  22. virtual void DoCatmullClarkSubdivision( void ) = 0;
  23. };
  24. IEditDispSubdivMesh *CreateEditDispSubdivMesh( void );
  25. void DestroyEditDispSubdivMesh( IEditDispSubdivMesh **pSubdivMesh );
  26. #endif // DISPSUBDIV_H