Fixed scene rendering issues and improved performance.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@517 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: IsoUtil.java,v 1.11 2001/10/19 23:26:31 shaper Exp $
|
||||
// $Id: IsoUtil.java,v 1.12 2001/10/22 18:21:41 shaper Exp $
|
||||
|
||||
package com.threerings.miso.scene.util;
|
||||
|
||||
@@ -419,6 +419,13 @@ public class IsoUtil
|
||||
return comp;
|
||||
}
|
||||
|
||||
// check whether right edge of b overlaps with left edge of a
|
||||
comp = getRightOverlap(db, da);
|
||||
if (comp != 0) {
|
||||
// reverse ordering per reversed overlap check
|
||||
return (comp == -1) ? 1 : -1;
|
||||
}
|
||||
|
||||
// determine ordering based purely on coordinates
|
||||
if (da.x <= db.x && da.y <= db.y) {
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user