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 <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  /* RECT_H */
00062 

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