diff options
| author | Narendra Umate <[email protected]> | 2013-12-02 23:36:05 -0800 |
|---|---|---|
| committer | Narendra Umate <[email protected]> | 2013-12-02 23:36:05 -0800 |
| commit | 8737f191f3b59f001a77bf6c08091109211c1c9f (patch) | |
| tree | dbbf05c004d9b026f2c1f23f06600fe0add82c36 /mp/src/utils/vrad/origface.cpp | |
| parent | Update .gitignore. (diff) | |
| parent | Make .xcconfigs text files too. (diff) | |
| download | source-sdk-2013-8737f191f3b59f001a77bf6c08091109211c1c9f.tar.xz source-sdk-2013-8737f191f3b59f001a77bf6c08091109211c1c9f.zip | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mp/src/utils/vrad/origface.cpp')
| -rw-r--r-- | mp/src/utils/vrad/origface.cpp | 102 |
1 files changed, 51 insertions, 51 deletions
diff --git a/mp/src/utils/vrad/origface.cpp b/mp/src/utils/vrad/origface.cpp index 43a19577..fbbe0e87 100644 --- a/mp/src/utils/vrad/origface.cpp +++ b/mp/src/utils/vrad/origface.cpp @@ -1,51 +1,51 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $Workfile: $
-// $Date: $
-//
-//-----------------------------------------------------------------------------
-// $Log: $
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#include "vrad.h"
-
-bool bOrigFacesTouched[MAX_MAP_FACES];
-
-
-//-----------------------------------------------------------------------------
-// Pupose: clear (reset) the bOrigFacesTouched list -- parellels the original
-// face list allowing an original face to only be processed once in
-// pairing edges!
-//-----------------------------------------------------------------------------
-void ResetOrigFacesTouched( void )
-{
- for( int i = 0; i < MAX_MAP_FACES; i++ )
- {
- bOrigFacesTouched[i] = false;
- }
-}
-
-
-//-----------------------------------------------------------------------------
-// Purpose: mark an original faces as touched (dirty)
-// Input: index - index of the original face touched
-//-----------------------------------------------------------------------------
-void SetOrigFaceTouched( int index )
-{
- bOrigFacesTouched[index] = true;
-}
-
-
-//-----------------------------------------------------------------------------
-// Purpose: return whether or not an original face has been touched
-// Input: index - index of the original face touched
-// Output: true/false
-//-----------------------------------------------------------------------------
-bool IsOrigFaceTouched( int index )
-{
- return bOrigFacesTouched[index];
-}
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $Workfile: $ +// $Date: $ +// +//----------------------------------------------------------------------------- +// $Log: $ +// +// $NoKeywords: $ +//=============================================================================// + +#include "vrad.h" + +bool bOrigFacesTouched[MAX_MAP_FACES]; + + +//----------------------------------------------------------------------------- +// Pupose: clear (reset) the bOrigFacesTouched list -- parellels the original +// face list allowing an original face to only be processed once in +// pairing edges! +//----------------------------------------------------------------------------- +void ResetOrigFacesTouched( void ) +{ + for( int i = 0; i < MAX_MAP_FACES; i++ ) + { + bOrigFacesTouched[i] = false; + } +} + + +//----------------------------------------------------------------------------- +// Purpose: mark an original faces as touched (dirty) +// Input: index - index of the original face touched +//----------------------------------------------------------------------------- +void SetOrigFaceTouched( int index ) +{ + bOrigFacesTouched[index] = true; +} + + +//----------------------------------------------------------------------------- +// Purpose: return whether or not an original face has been touched +// Input: index - index of the original face touched +// Output: true/false +//----------------------------------------------------------------------------- +bool IsOrigFaceTouched( int index ) +{ + return bOrigFacesTouched[index]; +} |