mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 03:56:10 +08:00
* Fixed Source Mod back-compatability by reordering methods in a couple interfaces.
* Added missing singleplayer OSX libs * Updated vpc and libs.
This commit is contained in:
@ -93,7 +93,7 @@ bool g_bOnlyStaticProps = false;
|
||||
bool g_bShowStaticPropNormals = false;
|
||||
|
||||
|
||||
float gamma = 0.5;
|
||||
float gamma_value = 0.5;
|
||||
float indirect_sun = 1.0;
|
||||
float reflectivityScale = 1.0;
|
||||
qboolean do_extra = true;
|
||||
|
@ -336,7 +336,7 @@ extern dface_t *g_pFaces;
|
||||
extern bool g_bMPIProps;
|
||||
|
||||
extern byte nodehit[MAX_MAP_NODES];
|
||||
extern float gamma;
|
||||
extern float gamma_value;
|
||||
extern float indirect_sun;
|
||||
extern float smoothing_threshold;
|
||||
extern int dlight_map;
|
||||
|
@ -524,7 +524,8 @@ private:
|
||||
bool TestPointAgainstSkySurface( Vector const &pt, dface_t *pFace )
|
||||
{
|
||||
// Create sky face winding.
|
||||
winding_t *pWinding = WindingFromFace( pFace, Vector( 0.0f, 0.0f, 0.0f ) );
|
||||
Vector v( 0.0f, 0.0f, 0.0f );
|
||||
winding_t *pWinding = WindingFromFace( pFace, v );
|
||||
|
||||
// Test point in winding. (Since it is at the node, it is in the plane.)
|
||||
bool bRet = PointInWinding( pt, pWinding );
|
||||
|
Reference in New Issue
Block a user