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/tools/neercs/video/text-render.cpp

    r2277 r2317  
    187187    glColor3f(1.0f, 1.0f, 1.0f);
    188188
    189     vec2 tc = (vec2)m_canvas_size * m_font_size / m_fbo_size;
     189    vec2 tc = (vec2)m_canvas_size * (vec2)m_font_size / (vec2)m_fbo_size;
    190190
    191191    glLoadIdentity();
Note: See TracChangeset for help on using the changeset viewer.