Gregg Tavares 5 years ago
parent
commit
a5fc528b82

+ 1 - 1
threejs/threejs-indexed-textures-picking-and-highlighting.html

@@ -390,7 +390,7 @@ function main() {
     event.preventDefault();
     lastTouch = event.touches[0];
   }, {passive: false});
-  canvas.addEventListener('touchsmove', (event) => {
+  canvas.addEventListener('touchmove', (event) => {
     lastTouch = event.touches[0];
   });
   canvas.addEventListener('touchend', () => {

+ 1 - 1
threejs/threejs-indexed-textures-picking.html

@@ -321,7 +321,7 @@ function main() {
     event.preventDefault();
     lastTouch = event.touches[0];
   }, {passive: false});
-  canvas.addEventListener('touchsmove', (event) => {
+  canvas.addEventListener('touchmove', (event) => {
     lastTouch = event.touches[0];
   });
   canvas.addEventListener('touchend', () => {

+ 1 - 1
threejs/threejs-indexed-textures-random-colors.html

@@ -367,7 +367,7 @@ function main() {
     event.preventDefault();
     lastTouch = event.touches[0];
   }, {passive: false});
-  canvas.addEventListener('touchsmove', (event) => {
+  canvas.addEventListener('touchmove', (event) => {
     lastTouch = event.touches[0];
   });
   canvas.addEventListener('touchend', () => {

+ 3 - 3
threejs/threejs-multiple-scenes-v1.html

@@ -117,7 +117,7 @@ function main() {
     return needResize;
   }
 
-  function rendenerSceneInfo(sceneInfo) {
+  function renderSceneInfo(sceneInfo) {
     const {scene, camera, elem} = sceneInfo;
 
     // get the viewport relative position opf this element
@@ -156,8 +156,8 @@ function main() {
     sceneInfo1.mesh.rotation.y = time * .1;
     sceneInfo2.mesh.rotation.y = time * .1;
 
-    rendenerSceneInfo(sceneInfo1);
-    rendenerSceneInfo(sceneInfo2);
+    renderSceneInfo(sceneInfo1);
+    renderSceneInfo(sceneInfo2);
 
     requestAnimationFrame(render);
   }

+ 3 - 3
threejs/threejs-multiple-scenes-v2.html

@@ -119,7 +119,7 @@ function main() {
     return needResize;
   }
 
-  function rendenerSceneInfo(sceneInfo) {
+  function renderSceneInfo(sceneInfo) {
     const {scene, camera, elem} = sceneInfo;
 
     // get the viewport relative position opf this element
@@ -160,8 +160,8 @@ function main() {
     sceneInfo1.mesh.rotation.y = time * .1;
     sceneInfo2.mesh.rotation.y = time * .1;
 
-    rendenerSceneInfo(sceneInfo1);
-    rendenerSceneInfo(sceneInfo2);
+    renderSceneInfo(sceneInfo1);
+    renderSceneInfo(sceneInfo2);
 
     requestAnimationFrame(render);
   }

+ 3 - 3
threejs/threejs-multiple-scenes-v3.html

@@ -119,7 +119,7 @@ function main() {
     return needResize;
   }
 
-  function rendenerSceneInfo(sceneInfo) {
+  function renderSceneInfo(sceneInfo) {
     const {scene, camera, elem} = sceneInfo;
 
     // get the viewport relative position opf this element
@@ -163,8 +163,8 @@ function main() {
     sceneInfo1.mesh.rotation.y = time * .1;
     sceneInfo2.mesh.rotation.y = time * .1;
 
-    rendenerSceneInfo(sceneInfo1);
-    rendenerSceneInfo(sceneInfo2);
+    renderSceneInfo(sceneInfo1);
+    renderSceneInfo(sceneInfo2);
 
     requestAnimationFrame(render);
   }

+ 1 - 1
threejs/threejs-postprocessing-gui.html

@@ -104,7 +104,7 @@ function main() {
   const gui = new GUI();
   {
     const folder = gui.addFolder('BloomPass');
-    folder.add(bloomPass.copyUniforms.opacity, 'value', 0, 2).name('stength');
+    folder.add(bloomPass.copyUniforms.opacity, 'value', 0, 2).name('strength');
     folder.open();
   }
   {