Formatting
This commit is contained in:
@@ -469,8 +469,8 @@ void ExportSkin(Asset& mAsset, const aiMesh* aimesh, Ref<Mesh>& meshRef, Ref<Buf
|
||||
float vertWeight = aib->mWeights[idx_weights].mWeight;
|
||||
|
||||
// A vertex can only have at most four joint weights. Ignore all others.
|
||||
if (jointsPerVertex[vertexId] > 3) {
|
||||
continue;
|
||||
if (jointsPerVertex[vertexId] > 3) {
|
||||
continue;
|
||||
}
|
||||
|
||||
vertexJointData[vertexId][jointsPerVertex[vertexId]] = jointNamesIndex;
|
||||
@@ -834,7 +834,7 @@ void glTFExporter::ExportScene()
|
||||
void glTFExporter::ExportMetadata()
|
||||
{
|
||||
glTF::AssetMetadata& asset = mAsset->asset;
|
||||
asset.version = 1.;
|
||||
asset.version = 1;
|
||||
|
||||
char buffer[256];
|
||||
ai_snprintf(buffer, 256, "Open Asset Import Library (assimp v%d.%d.%d)",
|
||||
|
||||
Reference in New Issue
Block a user