Add mesh bounds metadata

This commit is contained in:
2026-03-26 03:26:44 +08:00
parent cb05472205
commit 6f1cbbf305
5 changed files with 48 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ void Mesh::Release() {
m_attributes = VertexAttribute::Position;
m_indexCount = 0;
m_use32BitIndex = false;
m_bounds = Math::Bounds();
UpdateMemorySize();
SetInvalid();
}