Update three-core.d.ts (#24989)

add `optionalTarget` parameter
This commit is contained in:
heroboy
2018-04-17 06:25:29 +08:00
committed by Ryan Cavanaugh
parent 5c5ffcc7c9
commit 8030410d9b

View File

@@ -6586,13 +6586,13 @@ export class Curve<T extends Vector> {
* Returns a vector for point t of the curve where t is between 0 and 1
* getPoint(t: number): T;
*/
getPoint(t: number): T;
getPoint(t: number, optionalTarget?: T): T;
/**
* Returns a vector for point at relative position in curve according to arc length
* getPointAt(u: number): T;
*/
getPointAt(u: number): T;
getPointAt(u: number, optionalTarget?: T): T;
/**
* Get sequence of points using getPoint( t )