indices.add(face[tri + 2]);
}
}
// Check indices in bounds
indices.forEach(new TIntProcedure() {
@Override
public boolean execute(int value) {
if (value < 0 || value >= vertices.length) {
throw new JsonParseException("Face value out of range: " + value + ", max vertex is " + (vertices.length - 1));
}