glBindBuffer(GL_ARRAY_BUFFER, vertexBuffer);
glBufferData(GL_ARRAY_BUFFER, vertexStorage, GL_STATIC_DRAW);
IntBuffer indexStorage = BufferUtils.createIntBuffer(indices.length);
indexStorage.put(indices);
indexStorage.flip();
indexBuffer = glGenBuffers();
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBuffer);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, indexStorage, GL_STATIC_DRAW);
}