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