Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
627 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef MAP_UTILS_H
  7. #define MAP_UTILS_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "mathlib/vector.h"
  12. // angles comes from the "angles" property
  13. //
  14. // yaw and pitch will override the values in angles if they are nonzero
  15. // yaw comes from the (obsolete) "angle" property
  16. // pitch comes from the "pitch" property
  17. void SetupLightNormalFromProps( const QAngle &angles, float yaw, float pitch, Vector &output );
  18. #endif // MAP_UTILS_H