Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3128


Ignore:
Timestamp:
Jun 9, 2009, 4:30:44 PM (15 years ago)
Author:
rgrieder
Message:

Allow use of Vector2, etc. as pointers or references when only including UtilPrereqs.h

Location:
code/branches/pch/src/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/util/Math.h

    r2872 r3128  
    5858namespace orxonox
    5959{
    60     using Ogre::Radian;
    61     using Ogre::Degree;
    62     using Ogre::Vector2;
    63     using Ogre::Vector3;
    64     using Ogre::Vector4;
    65     using Ogre::Matrix3;
    66     using Ogre::Matrix4;
    67     using Ogre::Quaternion;
    68     using Ogre::ColourValue;
    69 
    7060    // Also define our own transform space enum
    7161    namespace TransformSpace
  • code/branches/pch/src/util/UtilPrereqs.h

    r2710 r3128  
    6060// Forward declarations
    6161//-----------------------------------------------------------------------
     62namespace Ogre
     63{
     64    class Radian;
     65    class Degree;
     66    class Vector2;
     67    class Vector3;
     68    class Vector4;
     69    class Matrix3;
     70    class Matrix4;
     71    class Quaternion;
     72    class ColourValue;
     73}
     74
    6275namespace orxonox
    6376{
     77    using Ogre::Radian;
     78    using Ogre::Degree;
     79    using Ogre::Vector2;
     80    using Ogre::Vector3;
     81    using Ogre::Vector4;
     82    using Ogre::Matrix3;
     83    using Ogre::Matrix4;
     84    using Ogre::Quaternion;
     85    using Ogre::ColourValue;
     86
    6487    class Exception;
    6588    class ExprParser;
Note: See TracChangeset for help on using the changeset viewer.