00001
00002
00003
00004
00005
00006
00007
00008 #ifndef RECT_H
00009 #define RECT_H
00010 #include <engine.h>
00011 #include <OGRE/OgreManualObject.h>
00012 #include <OGRE/OgreMaterial.h>
00013 #include <OGRE/OgreMaterialManager.h>
00014 #include <OGRE/OgreTechnique.h>
00015
00017 class Rect
00018 {
00019 public:
00023 Rect(float length, float height, Ogre::ColourValue colour, Ogre::ManualObject* mObj);
00024 Rect(const Rect& orig);
00025 virtual ~Rect();
00026
00034 void Draw(Ogre::Vector3 pos);
00035
00041 void Hide()
00042 {
00043 };
00044
00050 void ClearVertices();
00051
00052 float length;
00053 float height;
00054 Ogre::ColourValue colour;
00055 Ogre::ManualObject* mObj;
00057 private:
00058
00059 };
00060
00061 #endif
00062