00001 #pragma once
00002
00003 #include "LinearGrid.h"
00004 #include "Texture.h"
00005
00006 typedef enum CUT {LEFT, RIGHT} CUT;
00007
00008 class RootGrid
00009 {
00010 public:
00011 RootGrid(LinearGrid* _linear, const Texture* _texture);
00012 ~RootGrid(void);
00013
00014 void Create(float a);
00015
00016 void Draw();
00017
00018
00019
00020 private:
00021
00022 LinearGrid* linear;
00023 const Texture* texture;
00024
00025 private:
00026 ComplexGrid rootGrid;
00027 ComplexVector rootVector;
00028
00029 GridIteratorConst gridIterator;
00030 VectorIteratorConst vectorIterator;
00031
00032 const int gridNumber;
00033 static int counter;
00034
00035 double openingAngle;
00036 double moveUp;
00037 };