Просмотр исходного кода

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

Mohammad Issawi 1 год назад
Родитель
Сommit
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();
 const geometry = new THREE.BufferGeometry();
 
 
 // attributes
 // 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 ) );
 geometry.setAttribute( 'position', new THREE.BufferAttribute( positions, 3 ) );
 
 
 // draw range
 // draw range

粤ICP备19079148号