mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 22:27:05 +00:00
34 lines
793 B
C
34 lines
793 B
C
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//
|
||
|
//=============================================================================//
|
||
|
|
||
|
#ifndef DISPSUBDIV_H
|
||
|
#define DISPSUBDIV_H
|
||
|
#if defined ( _WIN32 )
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
class CMapDisp;
|
||
|
|
||
|
//=============================================================================
|
||
|
class IEditDispSubdivMesh
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
virtual void Init( void ) = 0;
|
||
|
virtual void Shutdown( void ) = 0;
|
||
|
|
||
|
virtual void AddDispTo( CMapDisp *pDisp ) = 0;
|
||
|
virtual void GetDispFrom( CMapDisp *pDisp ) = 0;
|
||
|
|
||
|
virtual void DoCatmullClarkSubdivision( void ) = 0;
|
||
|
};
|
||
|
|
||
|
IEditDispSubdivMesh *CreateEditDispSubdivMesh( void );
|
||
|
void DestroyEditDispSubdivMesh( IEditDispSubdivMesh **pSubdivMesh );
|
||
|
|
||
|
#endif // DISPSUBDIV_H
|