]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - matrixlib.h
added a few more GLSL shader program setting calls in R_RenderScene just to prevent...
[xonotic/darkplaces.git] / matrixlib.h
index 06890e294b9171ff6d18bfa3f7e4ca4677ec69b0..d3d29ed1303316a2ce9e2873d459ecf485e7adfe 100644 (file)
@@ -34,6 +34,9 @@ void Matrix4x4_Transpose3x3 (matrix4x4_t *out, const matrix4x4_t *in1);
 // creates a matrix that does the opposite of the matrix provided
 // only supports translate, rotate, scale (not scale3) matrices
 void Matrix4x4_Invert_Simple (matrix4x4_t *out, const matrix4x4_t *in1);
+// creates a matrix that does the same rotation and translation as the matrix
+// provided, but no uniform scaling, does not support scale3 matrices
+void Matrix4x4_Normalize (matrix4x4_t *out, matrix4x4_t *in1);
 
 // creates an identity matrix
 // (a matrix which does nothing)