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/lol/math/real.h

    r2183 r2317  
    122122    template<int M> friend Real<M> round(Real<M> const &x);
    123123    template<int M> friend Real<M> fmod(Real<M> const &x, Real<N> const &y);
     124
     125    /* Functions inherited from GLSL */
     126    template<int M> friend Real<M> abs(Real<M> const &x);
     127    template<int M> friend Real<M> fract(Real<M> const &x);
    124128
    125129    void hexprint() const;
     
    270274template<> real round(real const &x);
    271275template<> real fmod(real const &x, real const &y);
     276template<> real abs(real const &x);
     277template<> real fract(real const &x);
    272278
    273279template<> void real::hexprint() const;
Note: See TracChangeset for help on using the changeset viewer.