Namespaces | Functions | Variables

glut-demo.cpp File Reference

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

Go to the source code of this file.

Namespaces

namespace  glut

Functions

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

Variables

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)
static const float glut::s_radiansPerDegree = M_PI / 180.0