Rect.h

Go to the documentation of this file.
00001 /* 
00002  * File:   Rect.h
00003  * Author: chris
00004  *
00005  * Created on April 28, 2013, 6:06 PM
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  /* RECT_H */
00061 

Generated on Fri Dec 13 14:54:16 2013 for FastECSLent by  doxygen 1.5.4