From 25d348ef8f014aa7c9d9180aef65c30dcf50cbf1 Mon Sep 17 00:00:00 2001 From: Magnuz Binder Date: Thu, 14 Dec 2017 11:07:04 +0100 Subject: [PATCH] Updated method name to setFromPoints and reordered It seems a previous edit was accepted but never pushed to https://threejs.org/docs/index.html#api/extras/core/Path --- docs/api/extras/core/Path.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/api/extras/core/Path.html b/docs/api/extras/core/Path.html index 9de2dca9f37e13..c8cc257889e64d 100644 --- a/docs/api/extras/core/Path.html +++ b/docs/api/extras/core/Path.html @@ -94,14 +94,6 @@

[method:null arc]( [page:Float x], [page:Float y], [page:Float radius], [pag

[method:null bezierCurveTo]( [page:Float cp1X], [page:Float cp1Y], [page:Float cp2X], [page:Float cp2Y], [page:Float x], [page:Float y] )

This creates a bezier curve from [page:.currentPoint] with (cp1X, cp1Y) and (cp2X, cp2Y) as control points and updates [page:.currentPoint] to x and y.
-

[method:null fromPoints]( [page:Array vector2s] )

-
- points -- array of [page:Vector2 Vector2s].

- - Points are added to the [page:CurvePath.curves curves] - array as [page:LineCurve LineCurves]. -
-

[method:null ellipse]( [page:Float x], [page:Float y], [page:Float xRadius], [page:Float yRadius], [page:Float startAngle], [page:Float endAngle], [page:Float clockwise], [page:Float rotation] )

x, y -- The center of the ellipse offset from the last call.
@@ -126,6 +118,14 @@

[method:null moveTo]( [page:Float x], [page:Float y] )

[method:null quadraticCurveTo]( [page:Float cpX], [page:Float cpY], [page:Float x], [page:Float y] )

Creates a quadratic curve from [page:.currentPoint] with cpX and cpY as control point and updates [page:.currentPoint] to x and y.
+

[method:null setFromPoints]( [page:Array vector2s] )

+
+ points -- array of [page:Vector2 Vector2s].

+ + Points are added to the [page:CurvePath.curves curves] + array as [page:LineCurve LineCurves]. +
+

[method:null splineThru] ( [page:Array points] )

points - An array of [page:Vector2 Vector2s]