From 6c7b044ff10adb29e97081dd7eaab32f5dc2f36e Mon Sep 17 00:00:00 2001 From: sole Date: Wed, 26 Sep 2012 19:53:13 +0200 Subject: [PATCH] Using the full THREE.LineStrip and THREE.LinePieces constants in the docs as it makes it more explicit and avoids guessing (is it a String? is it a constant?) --- docs/api/objects/Line.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api/objects/Line.html b/docs/api/objects/Line.html index ce901a21a2..bc9b738a3a 100644 --- a/docs/api/objects/Line.html +++ b/docs/api/objects/Line.html @@ -21,12 +21,12 @@
geometry — Vertices representing the line segment(s).
material — Material for the line. Default is [page:LineBasicMaterial LineBasicMaterial].
- type — Connection type between vertices. Default is LineStrip. + type — Connection type between vertices. Default is THREE.LineStrip.
If no material is supplied, a randomized line material will be created and assigned to the object.
-
Also, if no type is supplied, the default (LineStrip) will be used).
+
Also, if no type is supplied, the default (THREE.LineStrip) will be used).

Properties

@@ -42,7 +42,7 @@

.[page:Integer type]

- Possible values: LineStrip or LinePieces. LineStrip will draw a series of segments connecting each point (first connected to the second, the second connected to the third, and so on and so forth); and LinePieces will draw a series of pairs of segments (first connected to the second, the third connected to the fourth, and so on and so forth).
+ Possible values: THREE.LineStrip or THREE.LinePieces. THREE.LineStrip will draw a series of segments connecting each point (first connected to the second, the second connected to the third, and so on and so forth); and THREE.LinePieces will draw a series of pairs of segments (first connected to the second, the third connected to the fourth, and so on and so forth).
In OpenGL terms, LineStrip is the classic GL_LINE_STRIP and LinePieces is the equivalent to GL_LINES. -- GitLab