changeset 279:5acc1232c8c0

Set the last 1 of the unit matrix as they are now 4x4 instead of 3x3.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 10 Oct 2012 23:08:45 +0300
parents 919e7de91758
children 47f774734b88
files dmvecmat.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dmvecmat.c	Wed Oct 10 22:18:05 2012 +0300
+++ b/dmvecmat.c	Wed Oct 10 23:08:45 2012 +0300
@@ -177,6 +177,7 @@
     mat->m[0][0] = 1.0f;
     mat->m[1][1] = 1.0f;
     mat->m[2][2] = 1.0f;
+    mat->m[3][3] = 1.0f;
 }