Skip to content

Commit

Permalink
refactor: export ActivityLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
hkfb committed Dec 23, 2024
1 parent b1ea72c commit 47594dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ export {
ActivityProfileLayer,
ActivityProfileLayerProps,
} from "./layers/activity-profile-layer/activity-profile-layer";
export {
ActivityLayer,
ActivityLayerProps,
} from "./layers/activity-layer/activity-layer";
2 changes: 1 addition & 1 deletion src/layers/face-profile-layer/util/extrudeRoadMeshes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export function extrudeRoadMeshes(
segmentTangents[i - 1][1],
];
const [dx2, dy2] = [segmentTangents[i][0], segmentTangents[i][1]];
const perp1 = [-dy1, dx1];
const perp1: [number, number] = [-dy1, dx1];
const perp2 = [-dy2, dx2];
const mx = perp1[0] + perp2[0];
const my = perp1[1] + perp2[1];
Expand Down

0 comments on commit 47594dd

Please sign in to comment.