We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0d80834 + 36110ea commit f607928Copy full SHA for f607928
examples/webgl_modifier_simplifier.html
@@ -67,13 +67,13 @@
67
mesh.rotation.y = Math.PI / 2;
68
scene.add( mesh );
69
70
- var modifer = new THREE.SimplifyModifier();
+ var modifier = new THREE.SimplifyModifier();
71
72
var simplified = mesh.clone();
73
simplified.material = simplified.material.clone();
74
simplified.material.flatShading = true;
75
var count = Math.floor( simplified.geometry.attributes.position.count * 0.875 ); // number of vertices to remove
76
- simplified.geometry = modifer.modify( simplified.geometry, count );
+ simplified.geometry = modifier.modify( simplified.geometry, count );
77
78
simplified.position.x = 3;
79
simplified.rotation.y = - Math.PI / 2;
0 commit comments