move MIN/MAX definition, use MIN() instead of min(), patch by DevHC
This commit is contained in:
parent
017bc7e5da
commit
3ddc59a3ba
3 changed files with 10 additions and 11 deletions
|
@ -640,6 +640,14 @@ void PerpendicularVector( vec3_t dst, const vec3_t src );
|
|||
int Q_isnan( float x );
|
||||
|
||||
|
||||
#ifndef MAX
|
||||
#define MAX(x,y) ((x)>(y)?(x):(y))
|
||||
#endif
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(x,y) ((x)<(y)?(x):(y))
|
||||
#endif
|
||||
|
||||
//=============================================
|
||||
|
||||
float Com_Clamp( float min, float max, float value );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue