]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - mathlib.h
v_yshearing: Make view and input behave more like Duke Nukem 3D ;)
[xonotic/darkplaces.git] / mathlib.h
index 9a9cd732f2c55164d07a15b3f3ed6e5bb50c043f..0aa8d19ce53cf8b7541bc645e0050b360992b25d 100644 (file)
--- 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