Classes | Namespaces

camera.h File Reference

#include <math.h>
#include "geometry/placement.h"
#include "perf/perf.h"
Include dependency graph for camera.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  glut::Viewer
struct  glut::camera_t
 camera_t : basic physical properties of a camera More...
struct  glut::fps_t
 fps_t : handy object for frames-per-second calculations More...

Namespaces

namespace  glut

Functions

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