Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1781 for code/trunk/src/util


Ignore:
Timestamp:
Sep 15, 2008, 12:42:18 AM (16 years ago)
Author:
rgrieder
Message:
  • hack-fixed the colour of the radar dots.
  • dealt with some M$ windows hackery (who would ever macro-define min/max???)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/util/Math.h

    r1625 r1781  
    6666_UtilExport orxonox::Vector2 get2DViewcoordinates(const orxonox::Vector3& myposition, const orxonox::Vector3& mydirection, const orxonox::Vector3& myorthonormal, const orxonox::Vector3& otherposition);
    6767_UtilExport orxonox::Vector3 getPredictedPosition(const orxonox::Vector3& myposition, float projectilespeed, const orxonox::Vector3& targetposition, const orxonox::Vector3& targetvelocity);
     68
     69//Get around Windows hackery
     70#if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32
     71#  ifdef max
     72#    undef max
     73#  endif
     74#  ifdef min
     75#    undef min
     76#  endif
     77#endif
    6878
    6979template <typename T>
Note: See TracChangeset for help on using the changeset viewer.