Last change
on this file since 782 was
748,
checked in by landauf, 17 years ago
|
- moved BillboardSet, Light, Mesh and Timer to the new util folder
- changed CML files (I hope I did it correctly for both operating systems)
|
File size:
916 bytes
|
Rev | Line | |
---|
[673] | 1 | #ifndef _BillboardSet_H__ |
---|
| 2 | #define _BillboardSet_H__ |
---|
| 3 | |
---|
[715] | 4 | #include <string> |
---|
| 5 | |
---|
[708] | 6 | #include <OgreBillboardSet.h> |
---|
[633] | 7 | |
---|
[708] | 8 | #include "../OrxonoxPrereqs.h" |
---|
[633] | 9 | |
---|
[708] | 10 | #include "../core/CoreIncludes.h" |
---|
[742] | 11 | #include "util/Math.h" |
---|
[708] | 12 | |
---|
[633] | 13 | namespace orxonox |
---|
| 14 | { |
---|
[729] | 15 | class _OrxonoxExport BillboardSet |
---|
[633] | 16 | { |
---|
| 17 | public: |
---|
| 18 | BillboardSet(); |
---|
| 19 | ~BillboardSet(); |
---|
[715] | 20 | void setBillboardSet(const std::string& file, const ColourValue& colour = ColourValue(1.0, 1.0, 1.0), int count = 1, const Vector3& position = Vector3::ZERO); |
---|
[633] | 21 | |
---|
| 22 | inline Ogre::BillboardSet* getBillboardSet() |
---|
| 23 | { return this->billboardSet_; } |
---|
| 24 | |
---|
[715] | 25 | inline const std::string& getName() const |
---|
[633] | 26 | { return this->billboardSet_->getName(); } |
---|
| 27 | |
---|
| 28 | private: |
---|
| 29 | static unsigned int billboardSetCounter_s; |
---|
| 30 | Ogre::BillboardSet* billboardSet_; |
---|
| 31 | }; |
---|
| 32 | } |
---|
| 33 | |
---|
[673] | 34 | #endif /* _BillboardSet_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.