Revision 863,
916 bytes
checked in by mattausch, 18 years ago
(diff) |
working on preprocessor integration
added iv stuff
|
Line | |
---|
1 | #ifndef _OgreTypeConverter_H__ |
---|
2 | #define _OgreTypeConverter_H__ |
---|
3 | |
---|
4 | #include "OgreAxisAlignedBox.h" |
---|
5 | #include "AxisAlignedBox3.h" |
---|
6 | #include "Vector3.h" |
---|
7 | |
---|
8 | |
---|
9 | namespace Ogre {
|
---|
10 |
|
---|
11 | /**
|
---|
12 | Class which converts preprocessor types to OGRE types
|
---|
13 | */
|
---|
14 | class __declspec(dllexport) OgreTypeConverter
|
---|
15 | {
|
---|
16 | public:
|
---|
17 | /** Converts Ogre AABB to preprocessor AABB.
|
---|
18 | */
|
---|
19 | static GtpVisibilityPreprocessor::AxisAlignedBox3 ConvertFromOgre(const AxisAlignedBox &box);
|
---|
20 | /** Converts Ogre vector to preprocessor vector.
|
---|
21 | */
|
---|
22 | static GtpVisibilityPreprocessor::Vector3 ConvertFromOgre(const Vector3 &v);
|
---|
23 | /** Converts preprocessor AABB to Ogre AABB.
|
---|
24 | */
|
---|
25 | static AxisAlignedBox ConvertToOgre(const GtpVisibilityPreprocessor::AxisAlignedBox3 &box);
|
---|
26 | /** Converts preprocessor vector to Ogre vector.
|
---|
27 | */
|
---|
28 | static Vector3 ConvertToOgre(const GtpVisibilityPreprocessor::Vector3 &v);
|
---|
29 | };
|
---|
30 |
|
---|
31 | } // namespace Ogre
|
---|
32 |
|
---|
33 | #endif // PlatformQueryManager
|
---|
Note: See
TracBrowser
for help on using the repository browser.