Преглед на файлове

Docs: some description for Geometry's lineDistances

Added some documentation for `geometry.lineDistances` since it wasn't very obvious apart from its usage in `examples/webgl_lines_dashed.html`.
zz85 преди 11 години
родител
ревизия
68a3737865
променени са 1 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 4 2
      docs/api/core/Geometry.html

+ 4 - 2
docs/api/core/Geometry.html

@@ -179,7 +179,9 @@
 
 		<h3>.[page:array lineDistances]</h3>
 		<div>
-		todo
+		An array containing distances between vertices for Line geometries.
+		This is required for LinePieces/LineDashedMaterial to render correctly.
+		Line distances can also be generated with computeLineDistances.
 		</div> 
 
 		<h2>Methods</h2>
@@ -275,7 +277,7 @@
 
 		<h3>.computeLineDistances() [page:todo]</h3>
 		<div>
-		todo
+		Compute distances between vertices for Line geometries.
 		</div>
 
 		<h3>.addEventListener([page:todo type], [page:todo listener]) [page:todo]</h3>