rsmodelmixin: add assertion for convex hull. (#1562)

This commit is contained in:
Ganom
2019-09-12 08:14:37 -04:00
committed by Kyle
parent 0d3122fce1
commit de26e3a126

View File

@@ -323,6 +323,8 @@ public abstract class RSModelMixin implements RSModel
@Inject
public Polygon getConvexHull(int localX, int localY, int orientation, int tileHeight)
{
assert client.isClientThread();
List<Vertex> vertices = getVertices();
// rotate vertices