message: indexgenerator: Allow in-place vertex buffer remaps
  While this isn't that important for reindexing an existing mesh,
  in-place usage can be convenient and this allows us to use remap-table
  driven vertex fetch optimization.
diff: @@ -141,9 +141,18 @@ size_t meshopt_generateVertexRemap(unsigned int* destination, const unsigned int
  void meshopt_remapVertexBuffer(void* destination, const void* vertices, size_t vertex_count, size_t vertex_size, const unsigned int* remap)
  {
  - assert(destination != vertices);
  assert(vertex_size > 0 && vertex_size <= 256);
  + // support in-place remap
  + meshopt_Buffer<char> vertices_copy;
  +
  + if (destination == vertices)
  + {
  + vertices_copy.data = new char[vertex_count * vertex_size];
  + memcpy(vertices_copy.data, vertices, vertex_count * vertex_size);
  + vertices = vertices_copy.data;
  + }
  +
  for (size_t i = 0; i < vertex_count; ++i)
  {
  if (remap[i] != ~0u)
  