Fix primitive.primitive -> primitive.mode

This commit is contained in:
Patrick Cozzi 2015-11-04 07:35:38 -05:00
parent e1bee3b587
commit d384d3f778

View File

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