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/game/client/c_tracer.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/game/client/c_tracer.h')
| -rw-r--r-- | mp/src/game/client/c_tracer.h | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/mp/src/game/client/c_tracer.h b/mp/src/game/client/c_tracer.h index 2f1a2848..bb9e13fe 100644 --- a/mp/src/game/client/c_tracer.h +++ b/mp/src/game/client/c_tracer.h @@ -1,40 +1,40 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//
-//=============================================================================//
-
-#ifndef C_TRACER_H
-#define C_TRACER_H
-
-class Vector;
-class ParticleDraw;
-class CMeshBuilder;
-
-//-----------------------------------------------------------------------------
-// Tracer_Draw(): draws a tracer, assuming the modelview matrix is identity
-// This function accepts all arguments in CAMERA (pre-projected) space
-//
-// arguments
-// [in] Vector& : The origin of the tracer (CAMERA space)
-// [in] Vector& : The direction and length of the tracer (CAMERA space)
-// [in] float : The tracer width (CAMERA space)
-// [in] float* : r, g, b, a (0 - 1)
-//-----------------------------------------------------------------------------
-void Tracer_Draw( ParticleDraw* pDraw, Vector& start, Vector& delta,
- float width, float* color, float startV = 0.0, float endV = 1.0 );
-
-void Tracer_Draw( CMeshBuilder *pMeshBuilder, Vector& start, Vector& delta, float width, float* color, float startV = 0.0, float endV = 1.0 );
-
-
-//-----------------------------------------------------------------------------
-// Computes the four verts to draw the tracer with, in the following order:
-// start vertex left side, start vertex right side
-// end vertex left side, end vertex right side
-// returne false if the tracer is offscreen
-//-----------------------------------------------------------------------------
-bool Tracer_ComputeVerts( const Vector &start, const Vector &delta, float width, Vector *pVerts );
-
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// + +#ifndef C_TRACER_H +#define C_TRACER_H + +class Vector; +class ParticleDraw; +class CMeshBuilder; + +//----------------------------------------------------------------------------- +// Tracer_Draw(): draws a tracer, assuming the modelview matrix is identity +// This function accepts all arguments in CAMERA (pre-projected) space +// +// arguments +// [in] Vector& : The origin of the tracer (CAMERA space) +// [in] Vector& : The direction and length of the tracer (CAMERA space) +// [in] float : The tracer width (CAMERA space) +// [in] float* : r, g, b, a (0 - 1) +//----------------------------------------------------------------------------- +void Tracer_Draw( ParticleDraw* pDraw, Vector& start, Vector& delta, + float width, float* color, float startV = 0.0, float endV = 1.0 ); + +void Tracer_Draw( CMeshBuilder *pMeshBuilder, Vector& start, Vector& delta, float width, float* color, float startV = 0.0, float endV = 1.0 ); + + +//----------------------------------------------------------------------------- +// Computes the four verts to draw the tracer with, in the following order: +// start vertex left side, start vertex right side +// end vertex left side, end vertex right side +// returne false if the tracer is offscreen +//----------------------------------------------------------------------------- +bool Tracer_ComputeVerts( const Vector &start, const Vector &delta, float width, Vector *pVerts ); + #endif // C_TRACER_H
\ No newline at end of file |