vrseasons

view src/scene.cc @ 0:393ef1143c9c

VR seasons
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 07 Apr 2015 11:16:56 +0300
parents
children
line source
1 #include "opengl.h"
2 #include "scene.h"
4 void update_scene(long tmsec, float dt)
5 {
6 }
8 void draw_scene()
9 {
10 glBegin(GL_QUADS);
11 glNormal3f(0, 1, 0);
12 glVertex3f(-10, 0, 10);
13 glVertex3f(10, 0, 10);
14 glVertex3f(10, 0, -10);
15 glVertex3f(-10, 0, -10);
16 glEnd();
17 }