improved model parsing

This commit is contained in:
devZoGok
2024-09-01 16:13:53 +03:00
parent 19990e48f4
commit 36f15b6dd9
6 changed files with 1119 additions and 1127 deletions
+3 -2
View File
@@ -33,10 +33,11 @@ namespace vb01{
vertData[i].weights[j] = vertices[i].weights[j];
vertData[i].boneIndices[j] = vertices[i].boneIndices[j];
}
}
//if(shapeKeyOffsets) for(int j = 0; j < 100; j++) vertData[i].shapeKeyOffsets[j] = vertices[i].shapeKeyOffsets[j];
if(shapeKeyOffsets)
for(int j = 0; j < 100; j++)
vertData[i].shapeKeyOffsets[j] = vertices[i].shapeKeyOffsets[j];
}
return vertData;