]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - matrixlib.c
changed rtlight compiled cluster list/pvs to leaf list/pvs to enable slightly more...
[xonotic/darkplaces.git] / matrixlib.c
index a036d822053a494c8ae1d23058e7bfa54814e73e..550a511837d6981c196204e21f8d6618334bcea8 100644 (file)
@@ -2,6 +2,16 @@
 #include <math.h>
 #include "matrixlib.h"
 
+const matrix4x4_t identitymatrix =
+{
+       {
+               {1, 0, 0, 0},
+               {0, 1, 0, 0},
+               {0, 0, 1, 0},
+               {0, 0, 0, 1}
+       }
+};
+
 void Matrix4x4_Copy (matrix4x4_t *out, const matrix4x4_t *in)
 {
        *out = *in;