sqwarmed/sdk_src/public/map_utils.h

26 lines
652 B
C
Raw Normal View History

2024-08-29 19:18:30 -04:00
//========= Copyright <20> 1996-2005, 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