diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2008-05-14 11:56:32 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2008-05-14 11:56:32 (GMT) |
commit | aee762191d706d03d5e1a42bf98415466f584bda (patch) | |
tree | 6e0f14bfe36a6d57736f804802b156a979424fa4 /matchblox/C_Environment.h | |
parent | d4d35970d88edccdd963e53ea3e11f702e1e2bab (diff) | |
download | 2iv55-aee762191d706d03d5e1a42bf98415466f584bda.zip 2iv55-aee762191d706d03d5e1a42bf98415466f584bda.tar.gz 2iv55-aee762191d706d03d5e1a42bf98415466f584bda.tar.bz2 |
moved stuff around
Diffstat (limited to 'matchblox/C_Environment.h')
-rw-r--r-- | matchblox/C_Environment.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/matchblox/C_Environment.h b/matchblox/C_Environment.h deleted file mode 100644 index cfdb816..0000000 --- a/matchblox/C_Environment.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef C_ENVIRONMENT_H - -#define C_ENVIRONMENT_H - -#include <GL/glut.h> - -class C_Environment -{ -public: - //environment map consist of 6 bitmaps with a common - //base name with the axis name (_positive_x.bmp, - //_negative_y.bmp, ...) - //appended, the distance is the distance from the center - //to the sides of the cube - C_Environment(const char *f_strEnvMapBaseName, - double f_dDistance); - ~C_Environment(); - - void Render(); - void RenderFace(double f_verts[8][3], - int f_v00, int f_v10, - int f_v11, int f_v01); - -private: - double m_dDist; - - //texture handles for the faces of the cube - GLuint m_uiFaceTex[6]; //order -x, -y, -z, +x, +y, +z -}; - -#endif //C_ENVIRONMENT_H - |