www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 40bb9aea8dc35344a001496aae0274f1c97c7f06
parent d1298cadb9561045a5c621fc3f65be7adfb8e799
Author: Yoann <yoann.b87@voila.fr>
Date:   Sat, 14 Jan 2012 10:55:49 +0100

Petit complément sur la skybox.

Diffstat:
Mview.cpp | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/view.cpp b/view.cpp @@ -128,6 +128,13 @@ void View::renderScene(int lastTime, int currentTime) { glVertex3f(d,-d,z+d); glVertex3f(-d,-d,z+d); glEnd(); + glBegin(GL_QUADS); + glColor3ub(12,64,12); + glVertex3f(-d,d,z-d); + glVertex3f(d,d,z-d); + glVertex3f(d,-d,z-d); + glVertex3f(-d,-d,z-d); + glEnd(); glPopMatrix(); glEnable(GL_LIGHTING);