mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 12:06:07 +08:00
First version of the SOurce SDK 2013
This commit is contained in:
25
public/map_utils.h
Normal file
25
public/map_utils.h
Normal file
@ -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
|
Reference in New Issue
Block a user