mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-23 21:24:27 +00:00
Add protection for vec3_t definition.
This commit is contained in:
parent
bacf65d55b
commit
58a5ca48be
@ -18,7 +18,12 @@
|
|||||||
|
|
||||||
typedef float vec_t;
|
typedef float vec_t;
|
||||||
typedef vec_t vec2_t[2];
|
typedef vec_t vec2_t[2];
|
||||||
|
|
||||||
|
#ifndef DID_VEC3_T_DEFINE
|
||||||
|
#define DID_VEC3_T_DEFINE
|
||||||
typedef vec_t vec3_t[3];
|
typedef vec_t vec3_t[3];
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef vec_t vec4_t[4]; // x,y,z,w
|
typedef vec_t vec4_t[4]; // x,y,z,w
|
||||||
|
|
||||||
#ifndef M_PI
|
#ifndef M_PI
|
||||||
|
Loading…
x
Reference in New Issue
Block a user