Last change
on this file since 945 was
859,
checked in by landauf, 17 years ago
|
more or less a copy of the trunk
|
File size:
637 bytes
|
Rev | Line | |
---|
[859] | 1 | #ifndef _Mesh_H__ |
---|
| 2 | #define _Mesh_H__ |
---|
| 3 | |
---|
| 4 | #include <string> |
---|
| 5 | |
---|
| 6 | #include <OgreEntity.h> |
---|
| 7 | |
---|
| 8 | #include "../OrxonoxPrereqs.h" |
---|
| 9 | |
---|
| 10 | namespace orxonox |
---|
| 11 | { |
---|
| 12 | class _OrxonoxExport Mesh |
---|
| 13 | { |
---|
| 14 | public: |
---|
| 15 | Mesh(); |
---|
| 16 | ~Mesh(); |
---|
| 17 | void setMesh(const std::string& file); |
---|
| 18 | |
---|
| 19 | inline Ogre::Entity* getEntity() |
---|
| 20 | { return this->entity_; } |
---|
| 21 | |
---|
| 22 | inline const std::string& getName() const |
---|
| 23 | { return this->entity_->getName(); } |
---|
| 24 | |
---|
| 25 | private: |
---|
| 26 | static unsigned int meshCounter_s; |
---|
| 27 | Ogre::Entity* entity_; |
---|
| 28 | }; |
---|
| 29 | } |
---|
| 30 | |
---|
| 31 | #endif /* _Mesh_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.