Macos changes

This commit is contained in:
Dynamitos
2026-03-16 16:54:30 +01:00
parent 4fd44b075f
commit 925537dcb3
6 changed files with 82 additions and 9 deletions
+1 -1
View File
@@ -619,7 +619,7 @@ void VertexData::loadMeshlets(MeshId id, const Array<Vector>& loadedPositions, c
// todo: use meshopt for bb generation
m.bounding = AABB();
for (size_t j = 0; j < m.vertexIndices.size; ++j) {
m.bounding.adjust(loadedPositions[vertexIndices[meshoptMeshlets[i].vertex_offset + j + m.indicesOffset]]);
m.bounding.adjust(loadedPositions[vertexIndices[meshoptMeshlets[i].vertex_offset + j + vertexOffset]]);
}
}
registeredMeshes[id].meshData = MeshData{