2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-22 01:47:45 +01:00

Add protection for vec3_t definition.

This commit is contained in:
Night Owl 2017-07-20 23:42:00 +05:00
parent bacf65d55b
commit 58a5ca48be

View File

@ -18,7 +18,12 @@
typedef float vec_t;
typedef vec_t vec2_t[2];
#ifndef DID_VEC3_T_DEFINE
#define DID_VEC3_T_DEFINE
typedef vec_t vec3_t[3];
#endif
typedef vec_t vec4_t[4]; // x,y,z,w
#ifndef M_PI