Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 14, 2009, 11:24:42 AM (15 years ago)
Author:
rgrieder
Message:

Moved orxonox::TransformSpace::Enum to WorldEntity::TransformSpace and asserted the conversions with a BOOST_STATIC_ASSERT (avoids unnecessary switch statements).
Also

File:
1 edited

Legend:

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

    r3146 r3163  
    5454namespace orxonox
    5555{
    56     // Also define our own transform space enum
    57     namespace TransformSpace
    58     {
    59         /**
    60         @brief
    61             Enumeration denoting the spaces which a transform can be relative to.
    62         */
    63         enum Enum
    64         {
    65             //! Transform is relative to the local space
    66             Local,
    67             //! Transform is relative to the space of the parent node
    68             Parent,
    69             //! Transform is relative to world space
    70             World
    71         };
    72     }
    73 
    7456    _UtilExport std::ostream& operator<<(std::ostream& out, const orxonox::Radian& radian);
    7557    _UtilExport std::istream& operator>>(std::istream& in, orxonox::Radian& radian);
Note: See TracChangeset for help on using the changeset viewer.