浏览代码

Manual updates (#23726)

Jason Sturges 3 年之前
父节点
当前提交
8811df5341
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      manual/en/optimize-lots-of-objects-animated.html
  2. 1 1
      manual/en/picking.html
  3. 1 1
      manual/en/textures.html

+ 1 - 1
manual/en/optimize-lots-of-objects-animated.html

@@ -77,7 +77,7 @@ of data.</p>
 <p>Let's generate 2 more sets of data. One being the places where the number
 men are greater than the number of women and visa versa, the places where
 the number of women are greater than the number of men. </p>
-<p>The first thing let's write a function that given a 2 dimensional array of
+<p>The first thing let's write a function that given a 2 dimensional array
 of arrays like we had before will map over it to generate a new 2 dimensional
 array of arrays</p>
 <pre class="prettyprint showlinemods notranslate lang-js" translate="no">function mapValues(data, fn) {

+ 1 - 1
manual/en/picking.html

@@ -174,7 +174,7 @@ window.addEventListener('touchmove', (event) =&gt; {
 
 window.addEventListener('touchend', clearPickPosition);
 </pre>
-<p>And finally in our <code class="notranslate" translate="no">render</code> function we call call the <code class="notranslate" translate="no">PickHelper</code>'s <code class="notranslate" translate="no">pick</code> function.</p>
+<p>And finally in our <code class="notranslate" translate="no">render</code> function we call the <code class="notranslate" translate="no">PickHelper</code>'s <code class="notranslate" translate="no">pick</code> function.</p>
 <pre class="prettyprint showlinemods notranslate lang-js" translate="no">+const pickHelper = new PickHelper();
 
 function render(time) {

+ 1 - 1
manual/en/textures.html

@@ -64,7 +64,7 @@ put this image on cube.</p>
 
 <p>We'll modify one of our first samples. All we need to do is create a <a href="/docs/#api/en/loaders/TextureLoader"><code class="notranslate" translate="no">TextureLoader</code></a>. Call its
 <a href="/docs/#api/en/loaders/TextureLoader#load"><code class="notranslate" translate="no">load</code></a> method with the URL of an
-image and and set the material's <code class="notranslate" translate="no">map</code> property to the result instead of setting its <code class="notranslate" translate="no">color</code>.</p>
+image and set the material's <code class="notranslate" translate="no">map</code> property to the result instead of setting its <code class="notranslate" translate="no">color</code>.</p>
 <pre class="prettyprint showlinemods notranslate lang-js" translate="no">+const loader = new THREE.TextureLoader();
 
 const material = new THREE.MeshBasicMaterial({