Skip to content

Commit 193d2bc

Browse files
committed
chore: rebuild examples
1 parent 2d00c43 commit 193d2bc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

examples/assets/civilNavigators.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,12 @@ world.scene.three.background = null;
7979
*/
8080

8181
const fragments = components.get(OBC.FragmentsManager);
82-
fragments.init("/node_modules/@thatopen/fragments/dist/Worker/worker.mjs");
82+
fragments.init(
83+
"https://thatopen.github.io/engine_fragment/resources/worker.mjs",
84+
);
8385

84-
const url = "/resources/frags/small_road.frag";
86+
const url =
87+
"https://thatopen.github.io/engine_components/resources/frags/small_road.frag";
8588
const file = await fetch(url);
8689
const data = await file.arrayBuffer();
8790
const buffer = new Uint8Array(data);

0 commit comments

Comments
 (0)