]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - mathlib.h
Fix infinite loop that occurred in R_FrameData_Alloc if requesting > 256MB (which...
[xonotic/darkplaces.git] / mathlib.h
index 9a9cd732f2c55164d07a15b3f3ed6e5bb50c043f..cb674e51a38affd019b3f023ad9e038f824da038 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, double maxShearAngle);
 /// 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