deepstone
diff src/test.c @ 13:7b574ba5758e
fixed the directional light
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 28 Nov 2011 05:12:33 +0200 |
parents | 059bb38506b3 |
children | 777be77b6432 |
line diff
1.1 --- a/src/test.c Mon Nov 28 05:03:22 2011 +0200 1.2 +++ b/src/test.c Mon Nov 28 05:12:33 2011 +0200 1.3 @@ -162,7 +162,7 @@ 1.4 1.5 mgl_enable(MGL_LIGHTING); 1.6 mgl_light_intensity(0, 1.0); 1.7 - mgl_light_direction(0, -0.5, 0.5, 1); 1.8 + mgl_light_position(0, -0.5, 0.5, 1, 0); 1.9 1.10 mgl_matrix_mode(MGL_PROJECTION); 1.11 mgl_load_identity();