Namespaces | Variables

wave-glut/lib/glut/frustum.cpp File Reference

#include "frustum.h"
#include <math.h>
#include "glut.h"
Include dependency graph for wave-glut/lib/glut/frustum.cpp:

Go to the source code of this file.

Namespaces

namespace  glut

Functions

void glut::getViewFrustum (const camera_t &camera,const Viewer &viewer,frustum_t &viewFrustum) throw ()
 This is a method to determine the view frustum given the current camera settings and viewer orientation.
void glut::drawFrustumEdges (const frustum_t &f,const glut_color_t &color) throw ()
 helper method to draw the edges of a frustum

Variables

static const float glut::s_radiansPerDegree = M_PI / 180.0