00001 #pragma once
00002
00003 #include <string>
00004 #include <list>
00005 #include <vector>
00006 #include <iostream>
00007 #include <stdlib.h>
00008 #include <math.h>
00009
00010 using std::list;
00011 using std::vector;
00012 using std::string;
00013 using std::cout;
00014 using std::cerr;
00015 using std::cin;
00016 using std::endl;
00017
00018 #include "GLee.h"
00019 #include <GL/gl.h>
00020 #include <GL/glu.h>
00021
00022 #include <ImathVec.h>
00023 #include <ImathMatrix.h>
00024 #include <ImathPlane.h>
00025 #include <ImathLine.h>
00026 #include <ImathColor.h>
00027 #include <ImathGL.h>
00028
00029 using Imath::M44f;
00030 using Imath::M33f;
00031 using Imath::V2f;
00032 using Imath::V3f;
00033 using Imath::V2i;
00034 using Imath::V3i;
00035 using Imath::Plane3f;
00036 using Imath::Line3f;
00037 using Imath::Color4f;
00038
00042 template<class T> inline T min(T a, T b)
00043 {
00044 return ((a<b)?a:b);
00045 }
00046
00050 template<class T> inline T max(T a, T b)
00051 {
00052 return ((a>b)?a:b);
00053 }