Update function signatures in paths.ts
This commit is contained in:
@@ -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[] {
|
||||||
|
|||||||
Reference in New Issue
Block a user