-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change (core, curve): having native node as an array was too much
- Loading branch information
FMS-Cat
committed
Nov 18, 2020
1 parent
54bd125
commit ab84c5f
Showing
8 changed files
with
86 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
/** | ||
* Represents a bezier node. | ||
*/ | ||
export type BezierNode = [ | ||
export interface BezierNode { | ||
/** | ||
* Time of the node. | ||
*/ | ||
time: number, | ||
time: number; | ||
|
||
/** | ||
* Value of the node. | ||
*/ | ||
value: number, | ||
value: number; | ||
|
||
/** | ||
* Bezier control point of inlet. Time. | ||
*/ | ||
inTime: number, | ||
inTime: number; | ||
|
||
/** | ||
* Bezier control point of inlet. Value. | ||
*/ | ||
inValue: number, | ||
inValue: number; | ||
|
||
/** | ||
* Bezier control point of outlet. Time. | ||
*/ | ||
outTime: number, | ||
outTime: number; | ||
|
||
/** | ||
* Bezier control point of outlet. Value. | ||
*/ | ||
outValue: number, | ||
]; | ||
outValue: number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters