counts[j++] = group.getIndices().length;
}
}
final IndexBufferData<?> newIndices = BufferUtils.createIndexBufferData(indexCount, md.getVertexCount());
for (final PrimitiveGroup group : strips) {
final IntBufferData data = new IntBufferData(group.getIndices().length);
data.getBuffer().put(group.getIndices());
data.rewind();
newIndices.put(data);
}
newIndices.rewind();
// ask mesh to apply new index data