Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

OrthographicSpace.h

00001 #ifndef _ORTHOGRAPHIC_SPACE_
00002 #define _ORTHOGRAPHIC_SPACE_
00003 
00004 #include "LifeVariables.h"
00005 
00006 #define DEFAULT_ORTHO_LEFT_PLANE -1
00007 #define DEFAULT_ORTHO_RIGHT_PLANE 1
00008 #define DEFAULT_ORTHO_BOTTOM_PLANE -1
00009 #define DEFAULT_ORTHO_TOP_PLANE 1
00010 
00011 using namespace std;
00012 
00019 class OrthographicSpace {
00020       
00021     public:
00023         int left;
00024 
00026                 int right;
00027 
00029                 int bottom;
00030 
00032                 int top;
00033 
00034                 
00037         OrthographicSpace();
00038 
00039 
00049         OrthographicSpace(int left, int right, int bottom, int top);
00050         
00051 
00060         void setBorders(int left, int right, int bottom, int top);
00061 
00062 
00064                 void setOrthographicProjection();
00065 
00066 
00068                 void resetProjection();
00069              
00070 
00073         //virtual void render() = 0;
00074 
00075         
00076 };
00077 #endif

Generated on Mon Dec 12 15:20:26 2005 for CCube by  doxygen 1.4.1