summaryrefslogtreecommitdiff
path: root/public/map_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'public/map_utils.h')
-rw-r--r--public/map_utils.h25
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