Last change
on this file since 580 was
576,
checked in by landauf, 18 years ago
|
added Mesh and Model (doesn't work yet, but i don't want to have merge conflicts all the time )
|
File size:
451 bytes
|
Rev | Line | |
---|
[576] | 1 | #include <string> |
---|
| 2 | |
---|
| 3 | #include "OgreEntity.h" |
---|
| 4 | |
---|
| 5 | #ifndef _Mesh_H__ |
---|
| 6 | #define _Mesh_H__ |
---|
| 7 | |
---|
| 8 | namespace orxonox |
---|
| 9 | { |
---|
| 10 | class Mesh |
---|
| 11 | { |
---|
| 12 | public: |
---|
| 13 | Mesh(); |
---|
| 14 | Mesh(const std::string& file); |
---|
| 15 | ~Mesh(); |
---|
| 16 | inline Ogre::Entity* getEntity() |
---|
| 17 | { return this->entity_; } |
---|
| 18 | |
---|
| 19 | private: |
---|
| 20 | static unsigned int meshCounter_s; |
---|
| 21 | Ogre::Entity* entity_; |
---|
| 22 | }; |
---|
| 23 | } |
---|
| 24 | |
---|
| 25 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.