Revision 2280,
746 bytes
checked in by mattausch, 18 years ago
(diff) |
removed dependency on ogre in gtpvisibility
|
Line | |
---|
1 | #ifndef _VisibilityMesh_H__
|
---|
2 | #define _VisibilityMesh_H__
|
---|
3 |
|
---|
4 |
|
---|
5 | #include <OgreEntity.h>
|
---|
6 | #include "VisibilityInfo.h"
|
---|
7 |
|
---|
8 | namespace GtpVisibility {
|
---|
9 | typedef Ogre::Entity Mesh;
|
---|
10 | typedef Ogre::SubEntity Patch;
|
---|
11 | }
|
---|
12 |
|
---|
13 |
|
---|
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 |
|
---|
28 | #endif // VisibilityMesh.h
|
---|
Note: See
TracBrowser
for help on using the repository browser.