Revision 863,
916 bytes
checked in by mattausch, 18 years ago
(diff) |
working on preprocessor integration
added iv stuff
|
Rev | Line | |
---|
[860] | 1 | #ifndef _OgreTypeConverter_H__ |
---|
| 2 | #define _OgreTypeConverter_H__ |
---|
[863] | 3 | |
---|
| 4 | #include "OgreAxisAlignedBox.h" |
---|
[860] | 5 | #include "AxisAlignedBox3.h" |
---|
| 6 | #include "Vector3.h" |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | namespace Ogre {
|
---|
[863] | 10 |
|
---|
[860] | 11 | /**
|
---|
[863] | 12 | Class which converts preprocessor types to OGRE types
|
---|
[860] | 13 | */
|
---|
| 14 | class __declspec(dllexport) OgreTypeConverter
|
---|
| 15 | {
|
---|
| 16 | public:
|
---|
[863] | 17 | /** Converts Ogre AABB to preprocessor AABB.
|
---|
| 18 | */
|
---|
[860] | 19 | static GtpVisibilityPreprocessor::AxisAlignedBox3 ConvertFromOgre(const AxisAlignedBox &box);
|
---|
[863] | 20 | /** Converts Ogre vector to preprocessor vector.
|
---|
| 21 | */
|
---|
[860] | 22 | static GtpVisibilityPreprocessor::Vector3 ConvertFromOgre(const Vector3 &v);
|
---|
[863] | 23 | /** Converts preprocessor AABB to Ogre AABB.
|
---|
| 24 | */
|
---|
[860] | 25 | static AxisAlignedBox ConvertToOgre(const GtpVisibilityPreprocessor::AxisAlignedBox3 &box);
|
---|
[863] | 26 | /** Converts preprocessor vector to Ogre vector.
|
---|
| 27 | */
|
---|
[860] | 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.