rsmodelmixin: add assertion for convex hull. (#1562)
This commit is contained in:
@@ -323,6 +323,8 @@ public abstract class RSModelMixin implements RSModel
|
|||||||
@Inject
|
@Inject
|
||||||
public Polygon getConvexHull(int localX, int localY, int orientation, int tileHeight)
|
public Polygon getConvexHull(int localX, int localY, int orientation, int tileHeight)
|
||||||
{
|
{
|
||||||
|
assert client.isClientThread();
|
||||||
|
|
||||||
List<Vertex> vertices = getVertices();
|
List<Vertex> vertices = getVertices();
|
||||||
|
|
||||||
// rotate vertices
|
// rotate vertices
|
||||||
|
|||||||
Reference in New Issue
Block a user