Changeset 2317 for trunk/tutorial


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/tutorial/11_fractal.cpp

    r2312 r2317  
    4949        else
    5050            m_window2world = 0.5 / m_window_size.x;
    51         m_texel2world = (vec2)m_window_size / m_size * m_window2world;
     51        m_texel2world = (dvec2)m_window_size / (dvec2)m_size * m_window2world;
    5252
    5353        m_oldmouse = ivec2(0, 0);
Note: See TracChangeset for help on using the changeset viewer.