]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - matrixlib.h
Use SDL 2.0.5 for Xonotic builds.
[xonotic/darkplaces.git] / matrixlib.h
index 232f1add4a506040dbf5b1cd3a858a48ca0d7b0a..1ab8262d07a4d6047616b064424be43f1d7ce044 100644 (file)
@@ -80,6 +80,8 @@ void Matrix4x4_CreateScale (matrix4x4_t *out, double x);
 void Matrix4x4_CreateScale3 (matrix4x4_t *out, double x, double y, double z);
 // creates a matrix for a quake entity
 void Matrix4x4_CreateFromQuakeEntity(matrix4x4_t *out, double x, double y, double z, double pitch, double yaw, double roll, double scale);
+// creates a duke3d view matrix for a quake view matrix ;)
+void Matrix4x4_QuakeToDuke3D(const matrix4x4_t *in, matrix4x4_t *out, double maxShearAngle);
 
 // converts a matrix4x4 to a set of 3D vectors for the 3 axial directions, and the translate
 void Matrix4x4_ToVectors(const matrix4x4_t *in, vec_t vx[3], vec_t vy[3], vec_t vz[3], vec_t t[3]);