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:
parent
5cc58defb8
commit
cdb765724e
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue