changeset 56:8b335eb444ae

Initialize light position.w.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 06 Dec 2019 23:52:14 +0200
parents bf73a2a70ec7
children 3f635b7ea2cf
files dmmodel.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dmmodel.h	Fri Dec 06 23:29:26 2019 +0200
+++ b/dmmodel.h	Fri Dec 06 23:52:14 2019 +0200
@@ -197,6 +197,7 @@
         position.p.x = 10.0f;
         position.p.y = 10.0f;
         position.p.z =  0.0f;
+        position.p.w =  0.0f;
     }
 };