final int count = getPrimitiveCount(section);
if (primitiveIndex >= count || primitiveIndex < 0) {
throw new IndexOutOfBoundsException("Invalid primitiveIndex '" + primitiveIndex + "'. Count is " + count);
}
final IndexMode mode = getIndexMode(section);
final int rSize = mode.getVertexCount();
Vector3[] result = store;
if (result == null || result.length < rSize) {
result = new Vector3[rSize];
}