diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /public/map_utils.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'public/map_utils.h')
| -rw-r--r-- | public/map_utils.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/public/map_utils.h b/public/map_utils.h new file mode 100644 index 0000000..555ca23 --- /dev/null +++ b/public/map_utils.h @@ -0,0 +1,25 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef MAP_UTILS_H +#define MAP_UTILS_H +#ifdef _WIN32 +#pragma once +#endif + + +#include "mathlib/vector.h" + + +// angles comes from the "angles" property +// +// yaw and pitch will override the values in angles if they are nonzero +// yaw comes from the (obsolete) "angle" property +// pitch comes from the "pitch" property +void SetupLightNormalFromProps( const QAngle &angles, float yaw, float pitch, Vector &output ); + + +#endif // MAP_UTILS_H |