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/server/cplane.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/server/cplane.h')
| -rw-r--r-- | mp/src/game/server/cplane.h | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/mp/src/game/server/cplane.h b/mp/src/game/server/cplane.h index 7cbcd66f..98d5b458 100644 --- a/mp/src/game/server/cplane.h +++ b/mp/src/game/server/cplane.h @@ -1,44 +1,44 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//
-//=============================================================================//
-#pragma once
-
-#ifndef CPLANE_H
-#define CPLANE_H
-
-//=========================================================
-// Plane
-//=========================================================
-class CPlane
-{
-public:
- CPlane ( void );
-
- //=========================================================
- // InitializePlane - Takes a normal for the plane and a
- // point on the plane and
- //=========================================================
- void InitializePlane ( const Vector &vecNormal, const Vector &vecPoint );
-
- //=========================================================
- // PointInFront - determines whether the given vector is
- // in front of the plane.
- //=========================================================
- bool PointInFront ( const Vector &vecPoint );
-
- //=========================================================
- // How far off the plane is this point?
- //=========================================================
- float PointDist( const Vector &vecPoint );
-
-private:
- Vector m_vecNormal;
- float m_flDist;
- bool m_fInitialized;
-};
-
-#endif //CPLANE_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// +#pragma once + +#ifndef CPLANE_H +#define CPLANE_H + +//========================================================= +// Plane +//========================================================= +class CPlane +{ +public: + CPlane ( void ); + + //========================================================= + // InitializePlane - Takes a normal for the plane and a + // point on the plane and + //========================================================= + void InitializePlane ( const Vector &vecNormal, const Vector &vecPoint ); + + //========================================================= + // PointInFront - determines whether the given vector is + // in front of the plane. + //========================================================= + bool PointInFront ( const Vector &vecPoint ); + + //========================================================= + // How far off the plane is this point? + //========================================================= + float PointDist( const Vector &vecPoint ); + +private: + Vector m_vecNormal; + float m_flDist; + bool m_fInitialized; +}; + +#endif //CPLANE_H |