Namespaces | Variables

camera.cpp File Reference

#include "camera.h"
#include "wave-glut.h"
Include dependency graph for camera.cpp:

Go to the source code of this file.

Namespaces

namespace  glut

Functions

void glut::getTrailingViewer (IN const Viewer &subject, IN float distance_back, OUT Viewer &view) throw ()
 getTrailingViewer() -- for over-the-shoulder views
void glut::setOpenGLProjection (IN const camera_t &camera) throw ()
 setOpenGLProjection() - set up OpenGL projection transformation
void glut::setOpenGLViewer (IN const Viewer &viewer) throw ()
 setOpenGLViewer() - set up initial OpenGL model/view transformation
void glut::addQuaternionRotation (IN const quaternion_t &q) throw ()
 addQuaternionRotation() - rotates current matrix by given quaternion
void glut::setPlacement (IN const placement_t &p) throw ()
 setPlacement() - updates current modelview transformation for placement

Variables

static const float glut::s_twoPi = 2.0 * M_PI