Update function signatures in paths.ts

This commit is contained in:
2026-04-15 11:21:35 +02:00
parent e2c09628e3
commit 867cb58a18

View File

@@ -229,7 +229,9 @@ function lerpVec3(start: Vec3, end: Vec3, t: number): Vec3 {
}; };
} }
function buildSmoothedPolylinePoints(path: ResolvedPathLike): Vec3[] { function buildSmoothedPolylinePoints(
path: ResolvedPathLike<PathPointLike, ResolvedPathSegmentLike>
): Vec3[] {
function buildSmoothedPolylinePoints( function buildSmoothedPolylinePoints(
path: ResolvedPathLike<PathPointLike, ResolvedPathSegmentLike> path: ResolvedPathLike<PathPointLike, ResolvedPathSegmentLike>
): Vec3[] { ): Vec3[] {
@@ -274,7 +276,9 @@ function buildSmoothedPolylinePoints(
return points; return points;
} }
function buildSmoothedPathSamples(path: ResolvedPathLike): SmoothedPathSample[] { function buildSmoothedPathSamples(
path: ResolvedPathLike<PathPointLike, ResolvedPathSegmentLike>
): SmoothedPathSample[] {
function buildSmoothedPathSamples( function buildSmoothedPathSamples(
path: ResolvedPathLike<PathPointLike, ResolvedPathSegmentLike> path: ResolvedPathLike<PathPointLike, ResolvedPathSegmentLike>
): SmoothedPathSample[] { ): SmoothedPathSample[] {