@damienmortini/three 0.1.131 → 0.1.132

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/copyExamples.js CHANGED
@@ -10,6 +10,6 @@ const files = new Map([
10
10
  for (const [source, destination] of files) {
11
11
  fs.copySync(source, destination)
12
12
  const data = fs.readFileSync(destination, 'utf-8')
13
- const newValue = data.replace('../../../build/three.module.js', '../../../../three/src/Three.js')
13
+ const newValue = data.replace('from \'three\'', 'from \'../../../../three/src/Three.js\'')
14
14
  fs.writeFileSync(destination, newValue, 'utf-8')
15
15
  }
@@ -15,7 +15,7 @@ import {
15
15
  RGB_PVRTC_4BPPV1_Format,
16
16
  RGB_S3TC_DXT1_Format,
17
17
  UnsignedByteType
18
- } from 'three';
18
+ } from '../../../../three/src/Three.js';
19
19
 
20
20
  /**
21
21
  * Loader for Basis Universal GPU Texture Codec.
@@ -3,7 +3,7 @@ import {
3
3
  BufferGeometry,
4
4
  FileLoader,
5
5
  Loader
6
- } from 'three';
6
+ } from '../../../../three/src/Three.js';
7
7
 
8
8
  const _taskCache = new WeakMap();
9
9
 
@@ -62,7 +62,7 @@ import {
62
62
  Vector3,
63
63
  VectorKeyframeTrack,
64
64
  sRGBEncoding
65
- } from 'three';
65
+ } from '../../../../three/src/Three.js';
66
66
 
67
67
  class GLTFLoader extends Loader {
68
68
 
@@ -15,7 +15,7 @@ import {
15
15
  Vector2,
16
16
  Vector3,
17
17
  Vector4
18
- } from 'three';
18
+ } from '../../../../three/src/Three.js';
19
19
 
20
20
  class Lensflare extends Mesh {
21
21
 
@@ -8,7 +8,7 @@ import {
8
8
  TriangleStripDrawMode,
9
9
  TrianglesDrawMode,
10
10
  Vector3
11
- } from 'three';
11
+ } from '../../../../three/src/Three.js';
12
12
 
13
13
 
14
14
  function computeTangents( geometry ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@damienmortini/three",
3
- "version": "0.1.131",
3
+ "version": "0.1.132",
4
4
  "description": "Three.js helpers",
5
5
  "scripts": {
6
6
  "install": "npm run copyexamples",
@@ -23,11 +23,11 @@
23
23
  "author": "Damien Mortini",
24
24
  "license": "ISC",
25
25
  "bugs": "https://github.com/damienmortini/lib/issues",
26
- "homepage": "https://github.com/damienmortini/lib/tree/master/packages/three",
26
+ "homepage": "https://github.com/damienmortini/lib/tree/main/packages/three",
27
27
  "dependencies": {
28
- "@damienmortini/core": "^0.2.106",
28
+ "@damienmortini/core": "^0.2.107",
29
29
  "fs-extra": "^10.0.0",
30
30
  "three": "0.132.2"
31
31
  },
32
- "gitHead": "2629a6ebd623d7cd56684172d8ca6edf1af25eaf"
32
+ "gitHead": "a798af7497e94c51e258a7ceb61447b775a121a8"
33
33
  }