Преглед изворни кода

Fix misleading comment in How-to-update-things.html (#29318)

Mohammad Issawi пре 1 година
родитељ
комит
ce180c9730
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      docs/manual/en/introduction/How-to-update-things.html

+ 1 - 1
docs/manual/en/introduction/How-to-update-things.html

@@ -62,7 +62,7 @@ const MAX_POINTS = 500;
 const geometry = new THREE.BufferGeometry();
 
 // attributes
-const positions = new Float32Array( MAX_POINTS * 3 ); // 3 vertices per point
+const positions = new Float32Array( MAX_POINTS * 3 ); // 3 floats (x, y and z) per point
 geometry.setAttribute( 'position', new THREE.BufferAttribute( positions, 3 ) );
 
 // draw range

粤ICP备19079148号