Changeset 5afbd60 in git


Ignore:
Timestamp:
11/03/15 04:33:54 (5 years ago)
Author:
Olly Betts <olly@…>
Branches:
line_contents, master, stereo, travis-osx
Children:
ec5e5a6
Parents:
47c62d04
Message:

src/gfxcore.cc: Minor refactor.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r47c62d04 r5afbd60  
     1Wed Mar 11 04:30:17 GMT 2015  Olly Betts <olly@survex.com>
     2
     3        * src/gfxcore.cc: Minor refactor.
     4
    15Wed Mar 11 04:27:04 GMT 2015  Olly Betts <olly@survex.com>
    26
  • src/gfxcore.cc

    r47c62d04 r5afbd60  
    27842784    prev_i = i;
    27852785    while (++i != centreline.end()) {
    2786         Double len = (*i - *prev_i).magnitude();
    27872786        BeginPolyline();
    2788         SetColourFromLength(len, 1.0);
     2787        SetColourFromLength((*i - *prev_i).magnitude(), 1.0);
    27892788        PlaceVertex(*prev_i);
    27902789        PlaceVertex(*i);
Note: See TracChangeset for help on using the changeset viewer.