Skip to content

Commit

Permalink
node module to libs
Browse files Browse the repository at this point in the history
  • Loading branch information
mudroljub committed Jan 14, 2025
1 parent 2977b9b commit df03317
Show file tree
Hide file tree
Showing 1,078 changed files with 61,078 additions and 262 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ bower_components
build/Release

# Dependency directories
node_modules/three/src
node_modules

# Optional npm cache directory
.npm
Expand Down
4 changes: 2 additions & 2 deletions examples/10-geometry/avatar/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/10-geometry/boxes-and-barrels/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/10-geometry/buildings-civil/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/10-geometry/buildings-urban/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/10-geometry/buildings-war/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/10-geometry/locomotive/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/10-geometry/trees-cartoon/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/10-geometry/trees/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/15-animations/dark-city/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/15-animations/parting-the-sea/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/15-animations/planets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/15-animations/tank/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/15-animations/train/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/15-animations/waves/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/20-particles/explosion/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ <h1 style="color:white; position:absolute">Press anywhere</h1>
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/20-particles/fire/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/20-particles/flame/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/20-particles/flying-through-space/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/20-particles/rain/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/20-particles/smoke/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/20-particles/snow/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/20-particles/stars/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/25-shaders/fireball/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/25-shaders/golden-flow/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/25-shaders/gradient/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/25-shaders/lava/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/25-shaders/led/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/25-shaders/lightning-led/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/25-shaders/marble/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/25-shaders/raging-sea/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/25-shaders/ripple/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/25-shaders/toon-shader-ghibli/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/25-shaders/toon-shader/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/25-shaders/voronoi/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/25-shaders/wood/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.min.js",
"three/": "/node_modules/three/"
"three": "/libs/three/build/three.module.min.js",
"three/": "/libs/three/"
}
}
</script>
Expand Down
Loading

0 comments on commit df03317

Please sign in to comment.