Skip to content

Commit

Permalink
Updated imports/importmaps of examples
Browse files Browse the repository at this point in the history
  • Loading branch information
boytchev committed Jan 2, 2025
1 parent 346fb5e commit 68789e9
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion examples/ao-map.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"imports": {
"three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/",
"pet/": "../src/"
"pet/": "https://cdn.jsdelivr.net/npm/[email protected]/src/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/bump-map.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"imports": {
"three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/",
"pet/": "../src/"
"pet/": "https://cdn.jsdelivr.net/npm/[email protected]/src/"
}
}
</script>
Expand All @@ -32,7 +32,7 @@ <h3 class="white">Bump textures are generated at runtime by <a href="https://boy

import * as THREE from "three";
import { OrbitControls } from "three/addons/controls/OrbitControls.js";
import * as PET from "../src/texture-generator.js";
import * as PET from "pet/texture-generator.js";
import * as CONCRETE from "pet/patterns/concrete.js";
import * as WATERDROPS from "pet/patterns/water-drops.js";

Expand Down
2 changes: 1 addition & 1 deletion examples/custom-map.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"imports": {
"three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/",
"pet/": "../src/"
"pet/": "https://cdn.jsdelivr.net/npm/[email protected]/src/"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion examples/deferred-generation.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"imports": {
"three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/",
"pet/": "../src/"
"pet/": "https://cdn.jsdelivr.net/npm/[email protected]/src/"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion examples/project-goals.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"imports": {
"three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/",
"pet/": "../src/"
"pet/": "https://cdn.jsdelivr.net/npm/[email protected]/src/"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion examples/proof-of-concept.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"imports": {
"three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/",
"pet/": "../src/"
"pet/": "https://cdn.jsdelivr.net/npm/[email protected]/src/"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion examples/texture-aspects.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"imports": {
"three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/",
"pet/": "../src/"
"pet/": "https://cdn.jsdelivr.net/npm/[email protected]/src/"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial-example-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"imports": {
"three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/",
"pet/": "https://cdn.jsdelivr.net/npm/[email protected].0/src/"
"pet/": "https://cdn.jsdelivr.net/npm/[email protected].1/src/"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial-example-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"imports": {
"three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/",
"pet/": "https://cdn.jsdelivr.net/npm/[email protected].0/src/"
"pet/": "https://cdn.jsdelivr.net/npm/[email protected].1/src/"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial-example-3.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"imports": {
"three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/",
"pet/": "../src/"
"pet/": "https://cdn.jsdelivr.net/npm/[email protected]/src/"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial-example-4.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"imports": {
"three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/",
"pet/": "../src/"
"pet/": "https://cdn.jsdelivr.net/npm/[email protected]/src/"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial-example-5.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"imports": {
"three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/",
"pet/": "../src/"
"pet/": "https://cdn.jsdelivr.net/npm/[email protected]/src/"
}
}
</script>
Expand Down

0 comments on commit 68789e9

Please sign in to comment.