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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user