Ignore:
Timestamp:
Nov 2, 2012, 11:45:02 AM (8 years ago)
Author:
sam
Message:

math: reimplement min(), max(), abs() and fmod() in the lol:: namespace to
avoid conflicts with the C++ stdlib.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tutorial/11_fractal.cpp

    r1992 r2056  
    216216        {
    217217            m_zoom_speed *= std::pow(2.0, -seconds * 5.0);
    218             if (abs(m_zoom_speed) < 1e-5 || m_drag)
     218            if (lol::abs(m_zoom_speed) < 1e-5 || m_drag)
    219219                m_zoom_speed = 0.0;
    220220        }
Note: See TracChangeset for help on using the changeset viewer.