fix remaining space calculation

This was ported from some C/C++ code that I think was doing it this way
for a specific (and probably silly) reason which might not apply anymore.
This commit is contained in:
Gered 2013-07-21 17:17:06 -04:00
parent 5cc58defb8
commit cdb765724e

View file

@ -147,7 +147,7 @@ public class Vertices {
} }
public int remainingSpace() { public int remainingSpace() {
return (numVertices - 1) - currentPosition; return numVertices - currentPosition;
} }
public void getPos(int index, Vector3 out) { public void getPos(int index, Vector3 out) {