0.3.1-dev-11 #510

Merged
altavir merged 80 commits from dev into master 2023-04-05 18:46:36 +03:00
Showing only changes of commit 6d47c0ccec - Show all commits

View File

@ -102,7 +102,7 @@ public data class CircleTrajectory2D(
} }
} }
public open class CompositeTrajectory2D(public val segments: Collection<Trajectory2D>) : Trajectory2D { public open class CompositeTrajectory2D(public val segments: List<Trajectory2D>) : Trajectory2D {
override val length: Double get() = segments.sumOf { it.length } override val length: Double get() = segments.sumOf { it.length }
} }