From 36110ea91906495afb751be31e3e01aa92cec981 Mon Sep 17 00:00:00 2001 From: Anders Hafreager Date: Tue, 9 Oct 2018 11:41:47 +0200 Subject: [PATCH] Fixed typo in variable --- examples/webgl_modifier_simplifier.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/webgl_modifier_simplifier.html b/examples/webgl_modifier_simplifier.html index 034b3537f9b382..8700096db682ab 100644 --- a/examples/webgl_modifier_simplifier.html +++ b/examples/webgl_modifier_simplifier.html @@ -67,13 +67,13 @@ mesh.rotation.y = Math.PI / 2; scene.add( mesh ); - var modifer = new THREE.SimplifyModifier(); + var modifier = new THREE.SimplifyModifier(); var simplified = mesh.clone(); simplified.material = simplified.material.clone(); simplified.material.flatShading = true; var count = Math.floor( simplified.geometry.attributes.position.count * 0.875 ); // number of vertices to remove - simplified.geometry = modifer.modify( simplified.geometry, count ); + simplified.geometry = modifier.modify( simplified.geometry, count ); simplified.position.x = 3; simplified.rotation.y = - Math.PI / 2;