From 676df636d21f39366cef30d1b0810af77062a226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E9=A3=8E?= Date: Tue, 19 Apr 2022 08:37:29 +0800 Subject: [PATCH] rename rearrangeIndices() to remapIndices() (#2773) --- examples/42-bunnylod/bunnylod.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/42-bunnylod/bunnylod.cpp b/examples/42-bunnylod/bunnylod.cpp index 1587d14b8..ddd62570f 100644 --- a/examples/42-bunnylod/bunnylod.cpp +++ b/examples/42-bunnylod/bunnylod.cpp @@ -65,7 +65,7 @@ public: } } - static void rearrangeIndices(uint32_t* _indices, uint32_t _num) + static void remapIndices(uint32_t* _indices, uint32_t _num) { uint32_t target = 0; for (uint32_t i = 0; i < _num; i++) { @@ -151,7 +151,7 @@ public: m_cacheWeld = (uint32_t*)BX_ALLOC(entry::getAllocator(), numVertices * sizeof(uint32_t) ); m_totalVertices = bgfx::weldVertices(m_cacheWeld, _mesh->m_layout, vbData, numVertices, true, 0.00001f); - rearrangeIndices(m_cacheWeld, numVertices); + remapIndices(m_cacheWeld, numVertices); } const bgfx::Memory* vb = mergeVertices(