소스 검색

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
 <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
 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>
 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
 of arrays like we had before will map over it to generate a new 2 dimensional
 array of arrays</p>
 array of arrays</p>
 <pre class="prettyprint showlinemods notranslate lang-js" translate="no">function mapValues(data, fn) {
 <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);
 window.addEventListener('touchend', clearPickPosition);
 </pre>
 </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();
 <pre class="prettyprint showlinemods notranslate lang-js" translate="no">+const pickHelper = new PickHelper();
 
 
 function render(time) {
 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
 <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
 <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();
 <pre class="prettyprint showlinemods notranslate lang-js" translate="no">+const loader = new THREE.TextureLoader();
 
 
 const material = new THREE.MeshBasicMaterial({
 const material = new THREE.MeshBasicMaterial({