We needn't add the first vertex of a polygon again at the end.

Quoth the java.awt.Polygon documentation:
    The first and final pairs of (x, y) points are joined by a line
    segment that closes the polygon.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1222 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2002-04-09 03:12:43 +00:00
parent 8adde69e3b
commit dc82aa0a98
@@ -1,5 +1,5 @@
//
// $Id: IsoUtil.java,v 1.25 2002/04/02 01:05:49 mdb Exp $
// $Id: IsoUtil.java,v 1.26 2002/04/09 03:12:43 ray Exp $
package com.threerings.miso.scene.util;
@@ -472,7 +472,6 @@ public class IsoUtil
poly.addPoint(spos.x + model.tilehwid, spos.y);
poly.addPoint(spos.x + model.tilewid, spos.y + model.tilehhei);
poly.addPoint(spos.x + model.tilehwid, spos.y + model.tilehei);
poly.addPoint(spos.x, spos.y + model.tilehhei);
return poly;
}