Namespaces | Functions | Variables

glut-demo.cpp File Reference

#include "glut-demo.h"
#include <iostream>
#include <math.h>
#include "glut/glut_2d.h"
#include "glut-font/glut-font.h"
#include "perf/perf.h"
#include "util/date.h"
Include dependency graph for glut-demo.cpp:

Go to the source code of this file.


namespace  glut


void glut::startDemo (int argc,const char *argv[],const char *title,DemoHost *host)
 use this method to kick off a quick demo (provide an instance of your own host, inherited from glut::DemoHost ).


static const int glut::s_maxBufferSize = 256
static const int glut::s_maxLighting = 3
static const float glut::s_dRot = 0.25
static const float glut::s_2 = sqrt(0.5)