mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-27 03:53:24 +00:00
improved model parsing
This commit is contained in:
+3
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user