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 /sp/src/utils/common/mstristrip.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 'sp/src/utils/common/mstristrip.h')
| -rw-r--r-- | sp/src/utils/common/mstristrip.h | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/sp/src/utils/common/mstristrip.h b/sp/src/utils/common/mstristrip.h index 626a0062..55c93198 100644 --- a/sp/src/utils/common/mstristrip.h +++ b/sp/src/utils/common/mstristrip.h @@ -1,43 +1,43 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//
-//=============================================================================//
-//-----------------------------------------------------------------------------
-// FILE: TRISTRIP.H
-//
-// Desc: tristrip header file
-//
-// Copyright (c) 1999-2000 Microsoft Corporation. All rights reserved.
-//-----------------------------------------------------------------------------
-
-typedef unsigned short WORD;
-
-//
-// Main Stripify routine. Returns number of strip indices contained
-// in ppstripindices. Caller must delete [] ppstripindices.
-//
-int Stripify(
- int numtris, // Number of triangles
- WORD *ptriangles, // triangle indices pointer
- int *pnumindices, // number of indices in ppstripindices (out)
- WORD **ppstripindices // triangle strip indices
-);
-
-//
-// Re-arrange vertices so that they occur in the order that they are first
-// used. This function doesn't actually move vertex data around, it returns
-// an array that specifies where in the new vertex array each old vertex
-// should go. It also re-maps the strip indices to use the new vertex
-// locations. Caller must delete [] pVertexPermutation.
-//
-void ComputeVertexPermutation
-(
- int numstripindices, // Number of strip indices
- WORD *pstripindices, // Strip indices
- int *pnumverts, // Number of verts (in and out)
- WORD **ppvertexpermutation // Map from orignal index to remapped index
-);
-
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// +//----------------------------------------------------------------------------- +// FILE: TRISTRIP.H +// +// Desc: tristrip header file +// +// Copyright (c) 1999-2000 Microsoft Corporation. All rights reserved. +//----------------------------------------------------------------------------- + +typedef unsigned short WORD; + +// +// Main Stripify routine. Returns number of strip indices contained +// in ppstripindices. Caller must delete [] ppstripindices. +// +int Stripify( + int numtris, // Number of triangles + WORD *ptriangles, // triangle indices pointer + int *pnumindices, // number of indices in ppstripindices (out) + WORD **ppstripindices // triangle strip indices +); + +// +// Re-arrange vertices so that they occur in the order that they are first +// used. This function doesn't actually move vertex data around, it returns +// an array that specifies where in the new vertex array each old vertex +// should go. It also re-maps the strip indices to use the new vertex +// locations. Caller must delete [] pVertexPermutation. +// +void ComputeVertexPermutation +( + int numstripindices, // Number of strip indices + WORD *pstripindices, // Strip indices + int *pnumverts, // Number of verts (in and out) + WORD **ppvertexpermutation // Map from orignal index to remapped index +); + |