X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=mathlib.h;h=b40e6f33739271ea23938b779b841c63f917da33;hp=8c5f8243ff3d9453a3df5212e3b286583b42511e;hb=6824d8ddc8a43cae0609be5bbe8bee01fa1a4225;hpb=2cadb08a5230c73be4599c7543fd02edfb350932 diff --git a/mathlib.h b/mathlib.h index 8c5f8243..b40e6f33 100644 --- a/mathlib.h +++ b/mathlib.h @@ -180,8 +180,8 @@ float VectorNormalizeLength2 (vec3_t v, vec3_t dest); // returns vector length #define NUMVERTEXNORMALS 162 extern float m_bytenormals[NUMVERTEXNORMALS][3]; -qbyte NormalToByte(const vec3_t n); -void ByteToNormal(qbyte num, vec3_t n); +unsigned char NormalToByte(const vec3_t n); +void ByteToNormal(unsigned char num, vec3_t n); void R_ConcatRotations (const float in1[3*3], const float in2[3*3], float out[3*3]); void R_ConcatTransforms (const float in1[3*4], const float in2[3*4], float out[3*4]);