Fixed bug in footprint calculation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2414 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: MisoUtil.java,v 1.18 2003/04/17 19:21:16 mdb Exp $
|
||||
// $Id: MisoUtil.java,v 1.19 2003/04/18 18:30:57 mdb Exp $
|
||||
|
||||
package com.threerings.miso.util;
|
||||
|
||||
@@ -426,8 +426,8 @@ public class MisoUtil
|
||||
ry -= width * metrics.tilehhei;
|
||||
footprint.addPoint(rx, ry);
|
||||
// end with top-center point
|
||||
rx -= height * metrics.tilehwid;
|
||||
ry += height * metrics.tilehhei;
|
||||
rx += height * metrics.tilehwid;
|
||||
ry -= height * metrics.tilehhei;
|
||||
footprint.addPoint(rx, ry);
|
||||
|
||||
return footprint;
|
||||
|
||||
Reference in New Issue
Block a user