Namespaces | Variables

camera.cpp File Reference

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

Go to the source code of this file.


namespace  glut


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


static const float glut::s_twoPi = 2.0 * M_PI