perspective: fix worldToCanvas to convert from local to scene coords correctly
This commit is contained in:
@@ -98,7 +98,7 @@ public class Perspective
|
||||
*/
|
||||
public static Point worldToCanvas(@Nonnull Client client, int x, int y, int plane, int zOffset)
|
||||
{
|
||||
return worldToCanvas(client, x, y, plane, x, y, zOffset);
|
||||
return worldToCanvas(client, x, y, plane, x >>> LOCAL_COORD_BITS, y >>> LOCAL_COORD_BITS, zOffset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user