X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=mathlib.h;fp=mathlib.h;h=0aa8d19ce53cf8b7541bc645e0050b360992b25d;hb=953f1f8feaa55e272118605371c13bf0f68585da;hp=9a9cd732f2c55164d07a15b3f3ed6e5bb50c043f;hpb=699e21e31d4c0ccefbd268a057e9ebc5ea252baf;p=xonotic%2Fdarkplaces.git diff --git a/mathlib.h b/mathlib.h index 9a9cd732..0aa8d19c 100644 --- a/mathlib.h +++ b/mathlib.h @@ -252,6 +252,8 @@ void R_ConcatTransforms (const float in1[3*4], const float in2[3*4], float out[3 void AngleVectors (const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up); /// LordHavoc: proper matrix version of AngleVectors void AngleVectorsFLU (const vec3_t angles, vec3_t forward, vec3_t left, vec3_t up); +/// divVerent: improper matrix version of AngleVectors +void AngleVectorsDuke3DFLU (const vec3_t angles, vec3_t forward, vec3_t left, vec3_t up); /// LordHavoc: builds a [3][4] matrix void AngleMatrix (const vec3_t angles, const vec3_t translate, vec_t matrix[][4]); /// LordHavoc: calculates pitch/yaw/roll angles from forward and up vectors