optimise euclidish, creating new morph function in the process

This commit is contained in:
alex 2025-08-17 22:13:26 +01:00
parent 482ebb695a
commit b717615558
4 changed files with 143 additions and 46 deletions

View file

@ -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);