Skip to content

Commit 04989be

Browse files
committed
chore: rebuild examples
1 parent 193d2bc commit 04989be

File tree

1 file changed

+5
-4
lines changed
  • packages/front/src/civil/CivilNavigators

1 file changed

+5
-4
lines changed

packages/front/src/civil/CivilNavigators/example.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,12 @@ model.getClippingPlanesEvent = () => {
107107
const alignments = await model.getAlignments();
108108
world.scene.three.add(alignments);
109109

110-
/*
110+
/* MD
111111
### 🚕 Setting up a Civil Navigator
112112
---
113113
114-
Now, we need to create an instance of the Civil 3D Navigator component. This will enable us to navigate through our 3D environment and interact with the model.
114+
Now, we need to create an instance of the Civil 3D Navigator component. This will enable us to navigate through our 3D environment and interact with the model.
115+
115116
*/
116117

117118
const navigators = components.get(OBF.CivilNavigators);
@@ -137,7 +138,7 @@ navigator.onMarkerChange.add(({ point }) => {
137138
const crossSectionNavigator = components.get(OBF.CivilCrossSectionNavigator);
138139
crossSectionNavigator.world = world;
139140

140-
/*
141+
/* MD
141142
We will also create another navigator for the horizontal alignments, so that we can navigate the road both in 2D and 3D.
142143
*/
143144

@@ -164,7 +165,7 @@ const horizontalScene = horizontalWorld.world.scene.three;
164165
horizontalScene.background = null;
165166
horizontalScene.add(horizontalAlignments);
166167

167-
/*
168+
/* MD
168169
Now it's time to synchronize both alignments. We can do this using the events provided by each alignment we created:
169170
*/
170171

0 commit comments

Comments
 (0)