Fixed issue in point_cloud_vertex_buffer_manager.cpp

This commit is contained in:
ZY4N
2025-03-25 02:34:26 +01:00
parent 71ea2d9237
commit bf0d85ec06
10 changed files with 20 additions and 830 deletions

View File

@@ -100,7 +100,10 @@ void interlace(
buffers...
);
const auto vertex_count = std::min({ buffers.size()... });
const auto vertex_count = std::min({
buffers.size()...
});
const auto buffer_size = stride * vertex_count;
vertex_buffer.resize(buffer_size);