GLutils.h

Go to the documentation of this file.
00001 
00011 #pragma once
00012 
00013 #include "standard.h"
00014 #include <windows.h>
00015 #include <GL/glu.h>
00016 
00017 #include "MatrixTypes.h"
00018 #include <math.h>
00019 
00021 void printBitmapString (const char *str, HDC hdc);
00022 
00024 void drawCube(GLfloat size, GLenum type);
00025 
00026 
00036 class ProjectionMatrix : public Matrix<4, 4, double>
00037 {
00038 public:
00039 
00041     void setPerspective (double fovy, double aspect, double zNear, double zFar);
00042 };
00043 
00044 
00054 class ModelviewMatrix : public Matrix<4, 4, double>
00055 {
00056 public:
00057 
00059     void translate (double x, double y, double z);
00060 
00062     void lookAt (Vertex3d COP, Vertex3d lookatPoint, ColVector3d upVector);
00063 
00066     void lookAtWithOffset (Vertex3d COP, Vertex3d lookatPoint, ColVector3d upVector, double latitude, double longitude);
00067 };

Generated on Tue May 21 03:34:51 2002 for Archimedes by doxygen1.2.15