modelmixin: use verticesCount/trianglesCount instead of array lengths

This commit is contained in:
Lotto
2018-02-27 15:43:14 +01:00
parent cc8e8f7006
commit 141f5ac778
2 changed files with 9 additions and 3 deletions

View File

@@ -29,6 +29,9 @@ import net.runelite.mapping.Import;
public interface RSModel extends RSRenderable, Model
{
@Import("verticesCount")
int getVerticesCount();
@Import("verticesX")
int[] getVerticesX();
@@ -38,6 +41,9 @@ public interface RSModel extends RSRenderable, Model
@Import("verticesZ")
int[] getVerticesZ();
@Import("indicesCount")
int getTrianglesCount();
@Import("indices1")
int[] getTrianglesX();