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 (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