Ignore:
Timestamp:
Apr 22, 2012, 2:31:55 AM (9 years ago)
Author:
sam
Message:

core: use operator<< instead of operator+= to append stuff to arrays,
it's a bit less confusing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/tutorial/01_triangle.cpp

    r1243 r1269  
    3737    Triangle()
    3838    {
    39         m_vertices += vec2( 0.0,  0.8);
    40         m_vertices += vec2(-0.8, -0.8);
    41         m_vertices += vec2( 0.8, -0.8);
     39        m_vertices << vec2( 0.0,  0.8);
     40        m_vertices << vec2(-0.8, -0.8);
     41        m_vertices << vec2( 0.8, -0.8);
    4242        m_ready = false;
    4343    }
Note: See TracChangeset for help on using the changeset viewer.