Skip to content

Commit

Permalink
Feature/a for clothoids (#270)
Browse files Browse the repository at this point in the history
* Update novorender/api to 1.0.3

* Pass kind to getStationSectionDrawObject
  • Loading branch information
nd-novorender authored Jan 23, 2025
1 parent ca3dfa2 commit 4f7bd4f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@mui/lab": "^5.0.0-alpha.174",
"@mui/material": "^5.15.10",
"@mui/x-date-pickers": "^7.23.0",
"@novorender/api": "1.0.2",
"@novorender/api": "1.0.3",
"@novorender/data-js-api": "2.0.0-beta.2",
"@novorender/webgl-api": "0.4.59",
"@reduxjs/toolkit": "^2.0.1",
Expand Down
2 changes: 2 additions & 0 deletions src/features/alignment/horizontal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ export function DrawHorizontalAlignment({ width, height }: { width: number; heig
horizontalSegmentRef.current.end,
{
curvature: shouldShowCurvature ? horizontalSegmentRef.current.curvature : undefined,
kind: horizontalSegmentRef.current.kind,
slope: false,
length: segmentSettings.length,
elevation: segmentSettings.elevation,
Expand All @@ -326,6 +327,7 @@ export function DrawHorizontalAlignment({ width, height }: { width: number; heig
verticalSegmentRef.current.end,
{
curvature: shouldShowCurvature ? verticalSegmentRef.current.curvature : undefined,
kind: verticalSegmentRef.current.kind,
slope: segmentSettings.slope,
length: segmentSettings.length,
elevation: segmentSettings.elevation,
Expand Down

0 comments on commit 4f7bd4f

Please sign in to comment.