Ignore:
Timestamp:
2011-06-11T00:23:38+02:00 (13 years ago)
Author:
bastiK
Message:

see #67 - new parallel way drawing mode (patch by Ole Jørgen Brønner)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/coor/EastNorth.java

    r3837 r4134  
    2525    public EastNorth add(double dx, double dy) {
    2626        return new EastNorth(x+dx, y+dy);
     27    }
     28
     29    public EastNorth add(EastNorth other) {
     30        return new EastNorth(x+other.x, y+other.y);
     31    }
     32
     33    public EastNorth scale(double s) {
     34        return new EastNorth(s * x, s * y);
    2735    }
    2836
Note: See TracChangeset for help on using the changeset viewer.