From 38cac3dc0977ce58b715c57406ca04531d6a0d6d Mon Sep 17 00:00:00 2001 From: yar3333 Date: Wed, 1 Oct 2014 01:50:33 +0400 Subject: [PATCH] Update three.d.ts Path fixes --- threejs/three.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/threejs/three.d.ts b/threejs/three.d.ts index a9c33693c..e446b4b5b 100644 --- a/threejs/three.d.ts +++ b/threejs/three.d.ts @@ -5195,7 +5195,7 @@ declare module THREE { * a 2d path representation, comprising of points, lines, and cubes, similar to the html5 2d canvas api. It extends CurvePath. */ export class Path extends CurvePath { - constructor(points?: Vector2); + constructor(points?: Vector2[]); actions: PathAction[]; @@ -5209,8 +5209,8 @@ declare module THREE { absarc(aX: number, aY: number, aRadius: number, aStartAngle: number, aEndAngle: number, aClockwise: boolean): void; ellipse(aX: number, aY: number, xRadius: number, yRadius: number, aStartAngle: number, aEndAngle: number, aClockwise: boolean): void; absellipse(aX: number, aY: number, xRadius: number, yRadius: number, aStartAngle: number, aEndAngle: number, aClockwise: boolean): void; - getSpacedPoints(divisions?: number, closedPath?: boolean): Vector[]; - getPoints(divisions?: number, closedPath?: boolean): Vector[]; + getSpacedPoints(divisions?: number, closedPath?: boolean): Vector2[]; + getPoints(divisions?: number, closedPath?: boolean): Vector2[]; toShapes(): Shape[]; }