Public Member Functions | Protected Attributes

glut::camera_t Struct Reference

camera_t : basic physical properties of a camera More...

#include <camera.h>

List of all members.

Public Member Functions

 camera_t (void) throw ()
void clear (void) throw ()
float getFovy (void) const throw ()
float getAspect (void) const throw ()
float getZNear (void) const throw ()
float getZFar (void) const throw ()
void setAspect (float a) throw ()
void setAspect (int width, int height) throw ()
void setZFar (float z) throw ()

Protected Attributes

float fovy
float aspect
float zNear
float zFar

Detailed Description

camera_t : basic physical properties of a camera

Definition at line 88 of file camera.h.


Constructor & Destructor Documentation

glut::camera_t::camera_t ( void   )  throw () [inline]

Definition at line 90 of file camera.h.


Member Function Documentation

void glut::camera_t::clear ( void   )  throw () [inline]

Definition at line 91 of file camera.h.

float glut::camera_t::getFovy ( void   )  const throw () [inline]

Definition at line 97 of file camera.h.

float glut::camera_t::getAspect ( void   )  const throw () [inline]

Definition at line 98 of file camera.h.

float glut::camera_t::getZNear ( void   )  const throw () [inline]

Definition at line 99 of file camera.h.

float glut::camera_t::getZFar ( void   )  const throw () [inline]

Definition at line 100 of file camera.h.

void glut::camera_t::setAspect ( float  a  )  throw () [inline]

Definition at line 102 of file camera.h.

void glut::camera_t::setAspect ( int  width,
int  height 
) throw () [inline]

Definition at line 103 of file camera.h.

void glut::camera_t::setZFar ( float  z  )  throw () [inline]

Definition at line 109 of file camera.h.


Member Data Documentation

float glut::camera_t::fovy [protected]

Definition at line 113 of file camera.h.

float glut::camera_t::aspect [protected]

Definition at line 114 of file camera.h.

float glut::camera_t::zNear [protected]

Definition at line 115 of file camera.h.

float glut::camera_t::zFar [protected]

Definition at line 116 of file camera.h.


The documentation for this struct was generated from the following file: