From dc82aa0a98e3e8abbc504eae8440460b17ef16dd Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Tue, 9 Apr 2002 03:12:43 +0000 Subject: [PATCH] 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 --- src/java/com/threerings/miso/client/util/IsoUtil.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/java/com/threerings/miso/client/util/IsoUtil.java b/src/java/com/threerings/miso/client/util/IsoUtil.java index 5662265bb..b50d3132e 100644 --- a/src/java/com/threerings/miso/client/util/IsoUtil.java +++ b/src/java/com/threerings/miso/client/util/IsoUtil.java @@ -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; }