Ignore:
Timestamp:
Dec 31, 2012, 6:05:21 AM (8 years ago)
Author:
sam
Message:

math: define lol::pow to remove ambiguous calls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lol/math/math.h

    r2183 r2188  
    5656{
    5757    return std::atan2(y, x);
     58}
     59
     60static inline double pow(double const &x, double const &y)
     61{
     62    return std::pow(x, y);
     63}
     64
     65static inline float pow(float const &x, float const &y)
     66{
     67    return std::pow(x, y);
    5868}
    5969
Note: See TracChangeset for help on using the changeset viewer.