Skip to content

Commit f607928

Browse files
authored
Merge pull request #15025 from anderscognite/anderscognite/typo
Fixed typo in variable
2 parents 0d80834 + 36110ea commit f607928

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/webgl_modifier_simplifier.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@
6767
mesh.rotation.y = Math.PI / 2;
6868
scene.add( mesh );
6969

70-
var modifer = new THREE.SimplifyModifier();
70+
var modifier = new THREE.SimplifyModifier();
7171

7272
var simplified = mesh.clone();
7373
simplified.material = simplified.material.clone();
7474
simplified.material.flatShading = true;
7575
var count = Math.floor( simplified.geometry.attributes.position.count * 0.875 ); // number of vertices to remove
76-
simplified.geometry = modifer.modify( simplified.geometry, count );
76+
simplified.geometry = modifier.modify( simplified.geometry, count );
7777

7878
simplified.position.x = 3;
7979
simplified.rotation.y = - Math.PI / 2;

0 commit comments

Comments
 (0)