Typo in comment and added toGeometry in package

This commit is contained in:
Thomas FORGIONE
2015-04-08 16:04:38 +02:00
parent 60d031361b
commit 566f42f5dc
2 changed files with 5 additions and 3 deletions

View File

@@ -139,7 +139,7 @@ function loadScene() {
child.translateY(positions[i].y);
child.translateZ(positions[i].z);
new_id = child.id;
child.geometry = toGeometry(child.geometry);
child.geometry = Converter.toGeometry(child.geometry);
child.geometry.mergeVertices();
child.geometry.computeFaceNormals();
child.geometry.computeVertexNormals();