diff options
Diffstat (limited to 'mp/src/utils/vrad/vraddetailprops.h')
| -rw-r--r-- | mp/src/utils/vrad/vraddetailprops.h | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/mp/src/utils/vrad/vraddetailprops.h b/mp/src/utils/vrad/vraddetailprops.h index f9cc8da1..0345d96a 100644 --- a/mp/src/utils/vrad/vraddetailprops.h +++ b/mp/src/utils/vrad/vraddetailprops.h @@ -1,34 +1,34 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================//
-
-#ifndef VRADDETAILPROPS_H
-#define VRADDETAILPROPS_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-
-#include "bspfile.h"
-#include "mathlib/anorms.h"
-
-
-// Calculate the lighting at whatever surface the ray hits.
-// Note: this ADDS to the values already in color. So if you want absolute
-// values in there, then clear the values in color[] first.
-void CalcRayAmbientLighting(
- int iThread,
- const Vector &vStart,
- const Vector &vEnd,
- float tanTheta, // tangent of the inner angle of the cone
- Vector color[MAX_LIGHTSTYLES] // The color contribution from each lightstyle.
- );
-
-bool CastRayInLeaf( int iThread, const Vector &start, const Vector &end, int leafIndex, float *pFraction, Vector *pNormal );
-
-void ComputeDetailPropLighting( int iThread );
-
-
-#endif // VRADDETAILPROPS_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef VRADDETAILPROPS_H +#define VRADDETAILPROPS_H +#ifdef _WIN32 +#pragma once +#endif + + +#include "bspfile.h" +#include "mathlib/anorms.h" + + +// Calculate the lighting at whatever surface the ray hits. +// Note: this ADDS to the values already in color. So if you want absolute +// values in there, then clear the values in color[] first. +void CalcRayAmbientLighting( + int iThread, + const Vector &vStart, + const Vector &vEnd, + float tanTheta, // tangent of the inner angle of the cone + Vector color[MAX_LIGHTSTYLES] // The color contribution from each lightstyle. + ); + +bool CastRayInLeaf( int iThread, const Vector &start, const Vector &end, int leafIndex, float *pFraction, Vector *pNormal ); + +void ComputeDetailPropLighting( int iThread ); + + +#endif // VRADDETAILPROPS_H |