mixins: Fix convex hulls being incorrectly contoured

the Models returned by getModel are already contoured if required; we do not need to do it again
This commit is contained in:
Max Weber
2019-03-29 14:42:39 -06:00
committed by Adam
parent 4d71194b45
commit dd993224ef
8 changed files with 64 additions and 38 deletions

View File

@@ -54,6 +54,7 @@ public class Perspective
public static final int LOCAL_COORD_BITS = 7;
public static final int LOCAL_TILE_SIZE = 1 << LOCAL_COORD_BITS; // 128 - size of a tile in local coordinates
public static final int LOCAL_HALF_TILE_SIZE = LOCAL_TILE_SIZE / 2;
public static final int SCENE_SIZE = Constants.SCENE_SIZE; // in tiles
@@ -114,7 +115,7 @@ public class Perspective
* @return a {@link Point} on screen corresponding to the position in
* 3D-space
*/
private static Point localToCanvas(@Nonnull Client client, int x, int y, int z)
public static Point localToCanvas(@Nonnull Client client, int x, int y, int z)
{
if (x >= 128 && y >= 128 && x <= 13056 && y <= 13056)
{