Explorar el Código

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

Mohammad Issawi hace 1 año
padre
commit
ce180c9730
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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号