diff --git a/examples/41-tess/tess.cpp b/examples/41-tess/tess.cpp index 56fdac9fb..52a49c502 100644 --- a/examples/41-tess/tess.cpp +++ b/examples/41-tess/tess.cpp @@ -928,6 +928,6 @@ namespace ENTRY_IMPLEMENT_MAIN( ExampleTessellation , "41-tess" - , "Adaptive Gpu Tessellation." + , "Adaptive GPU Tessellation." , "https://bkaradzic.github.io/bgfx/examples.html#tess" ); diff --git a/examples/42-bunnylod/bunnylod.cpp b/examples/42-bunnylod/bunnylod.cpp index f91d3ed7d..4b3de5175 100644 --- a/examples/42-bunnylod/bunnylod.cpp +++ b/examples/42-bunnylod/bunnylod.cpp @@ -40,14 +40,14 @@ public: // It will takes long time if there are too many vertices. ProgressiveMesh(vertices, stride, (const float *)(vb->data + offset), triangles, (const int *)ib->data, m_map, permutation); - // rearrange the vertex Array + // rearrange the vertex Array char * temp = (char *)Alloc(vertices * stride); bx::memCopy(temp, vb->data, vb->size); for (i = 0; idata + permutation[i] * stride , temp + i * stride, stride); } Free(temp); - + // update the changes in the entries in the triangle Array for (i = 0; idata + i * sizeof(uint32_t)); @@ -145,7 +145,7 @@ public: m_vb = bgfx::createVertexBuffer(vb, mesh->m_layout); m_ib = bgfx::createDynamicIndexBuffer(ib, BGFX_BUFFER_INDEX32); - + m_numVertices = vertices; m_numTriangles = indices/3; m_totalVertices = m_numVertices; @@ -377,6 +377,6 @@ public: ENTRY_IMPLEMENT_MAIN( ExampleBunnyLOD , "42-bunnylod" - , "Bunny LOD" + , "Progressive Mesh LOD" , "https://bkaradzic.github.io/bgfx/examples.html#bunnylod" );