File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ import { CurveEvaluator } from './curve-evaluator.js';
7
7
* @name CurveSet
8
8
* @classdesc A curve set is a collection of curves.
9
9
* @description Creates a new curve set.
10
- * @param {... number[] } curveKeys - 0 or many arguments of arrays of keys (pairs of numbers with
10
+ * @param {Array< number[]> } curveKeys - An array of arrays of keys (pairs of numbers with
11
11
* the time first and value second).
12
12
* @example
13
- * var curveSet = new pc.CurveSet(
13
+ * var curveSet = new pc.CurveSet([
14
14
* [
15
15
* 0, 0, // At 0 time, value of 0
16
16
* 0.33, 2, // At 0.33 time, value of 2
@@ -23,7 +23,7 @@ import { CurveEvaluator } from './curve-evaluator.js';
23
23
* 0.66, 36,
24
24
* 1, 37
25
25
* ]
26
- * );
26
+ * ] );
27
27
*/
28
28
class CurveSet {
29
29
constructor ( ) {
You can’t perform that action at this time.
0 commit comments