diff vptest.c @ 253:61eb5fb4a5e6

Fix a silly rendering issue.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 09 Oct 2012 21:11:07 +0300
parents 4b4123143b9e
children 370521e7a960
line wrap: on
line diff
--- a/vptest.c	Tue Oct 09 20:59:45 2012 +0300
+++ b/vptest.c	Tue Oct 09 21:11:07 2012 +0300
@@ -375,11 +375,11 @@
         DMVector pos;
         pos.x = 0;
         pos.y = 0;
-        pos.z = 600;
+        pos.z = 800;
         
         DMMatrix mat;
 //        dm_matrix_rot_a(&mat, f*0.1, 0, (3.1415926535f * 2.0f * ((DMFloat) mouseX + (DMFloat) mouseY) ) / 500.0f);
-        dm_matrix_rot_a(&mat, 0, 0, f*0.1);
+        dm_matrix_rot_a(&mat, f*0.1, f*0.1, f*0.1);
  
         dmDraw3DLineSpriteModel(screen, model, &pos, &mat, fbmap, lcol);
 #endif