correct property name `primitive`=>`mode`

This commit is contained in:
Gnimuc Key 2015-11-04 19:38:41 +08:00
parent e1bee3b587
commit 77d7613dd6
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ function createGltf(data, modelName, inputPath, outputPath, binary, embed, techn
attributes : gltfAttributes, attributes : gltfAttributes,
indices : getAccessorIndexId(i), indices : getAccessorIndexId(i),
material : getMaterialId(primitives[i].material), material : getMaterialId(primitives[i].material),
primitive : WebGLConstants.TRIANGLES mode : WebGLConstants.TRIANGLES
}); });
} }