mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
26 lines
614 B
C
26 lines
614 B
C
|
//========= 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
|