Revision 2280,
746 bytes
checked in by mattausch, 18 years ago
(diff) |
removed dependency on ogre in gtpvisibility
|
Rev | Line | |
---|
[65] | 1 | #ifndef _VisibilityMesh_H__
|
---|
| 2 | #define _VisibilityMesh_H__
|
---|
| 3 |
|
---|
[2280] | 4 |
|
---|
[130] | 5 | #include <OgreEntity.h>
|
---|
[2280] | 6 | #include "VisibilityInfo.h"
|
---|
[65] | 7 |
|
---|
| 8 | namespace GtpVisibility {
|
---|
[130] | 9 | typedef Ogre::Entity Mesh;
|
---|
[159] | 10 | typedef Ogre::SubEntity Patch;
|
---|
[65] | 11 | }
|
---|
| 12 |
|
---|
| 13 |
|
---|
[2280] | 14 | typedef std::vector<GtpVisibility::Mesh *> GeometryVector;
|
---|
| 15 | typedef std::vector<GtpVisibility::Patch *> PatchVector;
|
---|
| 16 |
|
---|
| 17 | |
---|
| 18 | typedef GtpVisibility::VisibilityInfo<GtpVisibility::Patch *> PatchInfo; |
---|
| 19 | typedef GtpVisibility::VisibilityInfo<GtpVisibility::Mesh *> MeshInfo; |
---|
| 20 | typedef GtpVisibility::VisibilityInfo<GtpVisibility::HierarchyNode *> NodeInfo; |
---|
| 21 | |
---|
| 22 |
|
---|
| 23 | typedef std::vector<PatchInfo> PatchInfoContainer; |
---|
| 24 | typedef std::vector<MeshInfo> MeshInfoContainer; |
---|
| 25 | typedef std::vector<NodeInfo> NodeInfoContainer;
|
---|
| 26 |
|
---|
| 27 |
|
---|
[71] | 28 | #endif // VisibilityMesh.h
|
---|
Note: See
TracBrowser
for help on using the repository browser.