diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /mp/src/public/tier2/meshutils.h | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/public/tier2/meshutils.h')
| -rw-r--r-- | mp/src/public/tier2/meshutils.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/mp/src/public/tier2/meshutils.h b/mp/src/public/tier2/meshutils.h index e9e34008..1a995fc8 100644 --- a/mp/src/public/tier2/meshutils.h +++ b/mp/src/public/tier2/meshutils.h @@ -1,26 +1,26 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose: A set of utilities to help with generating meshes
-//
-//===========================================================================//
-
-#ifndef MESHUTILS_H
-#define MESHUTILS_H
-
-#ifdef _WIN32
-#pragma once
-#endif
-
-
-//-----------------------------------------------------------------------------
-// Helper methods to create various standard index buffer types
-//-----------------------------------------------------------------------------
-void GenerateSequentialIndexBuffer( unsigned short* pIndexMemory, int nIndexCount, int nFirstVertex );
-void GenerateQuadIndexBuffer( unsigned short* pIndexMemory, int nIndexCount, int nFirstVertex );
-void GeneratePolygonIndexBuffer( unsigned short* pIndexMemory, int nIndexCount, int nFirstVertex );
-void GenerateLineStripIndexBuffer( unsigned short* pIndexMemory, int nIndexCount, int nFirstVertex );
-void GenerateLineLoopIndexBuffer( unsigned short* pIndexMemory, int nIndexCount, int nFirstVertex );
-
-
-#endif // MESHUTILS_H
-
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: A set of utilities to help with generating meshes +// +//===========================================================================// + +#ifndef MESHUTILS_H +#define MESHUTILS_H + +#ifdef _WIN32 +#pragma once +#endif + + +//----------------------------------------------------------------------------- +// Helper methods to create various standard index buffer types +//----------------------------------------------------------------------------- +void GenerateSequentialIndexBuffer( unsigned short* pIndexMemory, int nIndexCount, int nFirstVertex ); +void GenerateQuadIndexBuffer( unsigned short* pIndexMemory, int nIndexCount, int nFirstVertex ); +void GeneratePolygonIndexBuffer( unsigned short* pIndexMemory, int nIndexCount, int nFirstVertex ); +void GenerateLineStripIndexBuffer( unsigned short* pIndexMemory, int nIndexCount, int nFirstVertex ); +void GenerateLineLoopIndexBuffer( unsigned short* pIndexMemory, int nIndexCount, int nFirstVertex ); + + +#endif // MESHUTILS_H + |