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(
|
||||
path: ResolvedPathLike<PathPointLike, ResolvedPathSegmentLike>
|
||||
): Vec3[] {
|
||||
@@ -274,7 +276,9 @@ function buildSmoothedPolylinePoints(
|
||||
return points;
|
||||
}
|
||||
|
||||
function buildSmoothedPathSamples(path: ResolvedPathLike): SmoothedPathSample[] {
|
||||
function buildSmoothedPathSamples(
|
||||
path: ResolvedPathLike<PathPointLike, ResolvedPathSegmentLike>
|
||||
): SmoothedPathSample[] {
|
||||
function buildSmoothedPathSamples(
|
||||
path: ResolvedPathLike<PathPointLike, ResolvedPathSegmentLike>
|
||||
): SmoothedPathSample[] {
|
||||
|
||||
Reference in New Issue
Block a user