]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - matrixlib.h
do not TOTALLY block translation with csprogs, but restrict it to globals named dotra...
[xonotic/darkplaces.git] / matrixlib.h
index 8d7c3a6c08cef3e5a2310e7660026329fd506189..7673c5b35097e668da7e83b6f573a7503f81af5c 100644 (file)
@@ -159,5 +159,7 @@ void Matrix4x4_SetOrigin (matrix4x4_t *out, double x, double y, double z);
 void Matrix4x4_AdjustOrigin (matrix4x4_t *out, double x, double y, double z);
 // scales vectors of a matrix in place and allows you to scale origin as well
 void Matrix4x4_Scale (matrix4x4_t *out, double rotatescale, double originscale);
+// ensures each element of the 3x3 rotation matrix is facing in the + direction
+void Matrix4x4_Abs (matrix4x4_t *out);
 
 #endif