optimise euclidish, creating new morph function in the process
This commit is contained in:
parent
482ebb695a
commit
b717615558
4 changed files with 143 additions and 46 deletions
|
|
@ -72,7 +72,7 @@ export class TimeSpan {
|
|||
}
|
||||
|
||||
intersection(other) {
|
||||
// Intersection of two timespans, returns None if they don't intersect.
|
||||
// Intersection of two timespans, returns undefined if they don't intersect.
|
||||
const intersect_begin = this.begin.max(other.begin);
|
||||
const intersect_end = this.end.min(other.end);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue