Ignore:
Timestamp:
2019-02-15T18:17:18+01:00 (6 years ago)
Author:
malcolmh
Message:

refine light sectors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachart/src/render/Renderer.java

    r34652 r34896  
    602602
    603603    public static void lightSector(Color col1, Color col2, double radius, double s1, double s2, Double dir, String str) {
    604         if ((zoom >= 16) && (radius > 0.2)) {
    605             radius /= Math.pow(2, zoom-15);
    606         }
    607604        double mid = (((s1 + s2) / 2) + (s1 > s2 ? 180 : 0)) % 360;
    608605        g2.setStroke(new BasicStroke((float) (3.0 * sScale), BasicStroke.CAP_BUTT, BasicStroke.JOIN_ROUND, 1,
Note: See TracChangeset for help on using the changeset viewer.