00001 #ifndef VCamera_h 00002 #define VCamera_h 00003 00004 #include "vmath.h" 00005 00008 class VCamera 00009 { 00012 Vector2<float> fromPoint; 00013 00016 float distance; 00019 float angleX; 00022 float angleY; 00023 00025 float maxdistance; 00027 float mindistance; 00028 00030 int* winheight; 00032 int* winwidth; 00033 00034 public: 00040 VCamera(int*,int*,float); 00041 ~VCamera(); 00042 00044 void setCamera(); 00046 void setRotation(); 00050 void setAxisAlign(int); 00055 void changeDirection(int,int); 00060 void changeDistance(int,int); 00062 void setFromPoint(int,int); 00064 void deleteFromPoint(); 00066 void setDistance(float); 00068 float getDistance(); 00069 }; 00070 00071 #endif