forked from Dynamitos/Seele
Macos changes
This commit is contained in:
1 parent
4fd44b075f
commit
925537dcb3
6 files changed
+82
-9
No files matched your search
@@ -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{
|
||||
|
||||
Reference in new issue
Block a user