if (lineColors.capacity() < (4 * (2 * mesh.getMeshData().getVertexCount()))) {
normalLines.getMeshData().setColorBuffer(null);
lineColors = BufferUtils.createColorBuffer(mesh.getMeshData().getVertexCount() * 2);
normalLines.getMeshData().setColorBuffer(lineColors);
} else {
lineColors.clear();
}
IndexBufferData<?> lineInds = normalLines.getMeshData().getIndices();
if (lineInds == null || lineInds.getBufferCapacity() < (normalLines.getMeshData().getVertexCount())) {
normalLines.getMeshData().setIndices(null);