modelmixin: use verticesCount/trianglesCount instead of array lengths
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user