Ignore:
Timestamp:
Feb 2, 2013, 4:00:28 PM (8 years ago)
Author:
sam
Message:

math: remove coercion rules in the vector classes, they increase the
compilation time for very little benefit and maybe even confusion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/math/real.cpp

    r2216 r2317  
    824824}
    825825
     826template<> real abs(real const &x)
     827{
     828    return fabs(x);
     829}
     830
     831template<> real fract(real const &x)
     832{
     833    return x - floor(x);
     834}
     835
    826836static real fast_log(real const &x)
    827837{
Note: See TracChangeset for help on using the changeset viewer.