Initial project import
This commit is contained in:
26
node_modules/three-stdlib/_polyfill/CapsuleGeometry.cjs
generated
vendored
Normal file
26
node_modules/three-stdlib/_polyfill/CapsuleGeometry.cjs
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
const THREE = require("three");
|
||||
const CapsuleGeometry = /* @__PURE__ */ (() => {
|
||||
class CapsuleGeometry2 extends THREE.LatheGeometry {
|
||||
constructor(radius = 1, length = 1, capSegments = 4, radialSegments = 8) {
|
||||
const path = new THREE.Path();
|
||||
path.absarc(0, -length / 2, radius, Math.PI * 1.5, 0);
|
||||
path.absarc(0, length / 2, radius, 0, Math.PI * 0.5);
|
||||
super(path.getPoints(capSegments), radialSegments);
|
||||
this.type = "CapsuleGeometry";
|
||||
this.parameters = {
|
||||
radius,
|
||||
height: length,
|
||||
capSegments,
|
||||
radialSegments
|
||||
};
|
||||
}
|
||||
static fromJSON(data) {
|
||||
return new CapsuleGeometry2(data.radius, data.length, data.capSegments, data.radialSegments);
|
||||
}
|
||||
}
|
||||
return CapsuleGeometry2;
|
||||
})();
|
||||
exports.CapsuleGeometry = CapsuleGeometry;
|
||||
//# sourceMappingURL=CapsuleGeometry.cjs.map
|
||||
1
node_modules/three-stdlib/_polyfill/CapsuleGeometry.cjs.map
generated
vendored
Normal file
1
node_modules/three-stdlib/_polyfill/CapsuleGeometry.cjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CapsuleGeometry.cjs","sources":["../../src/_polyfill/CapsuleGeometry.js"],"sourcesContent":["import { Path, LatheGeometry } from 'three'\n\nconst CapsuleGeometry = /* @__PURE__ */ (() => {\n class CapsuleGeometry extends LatheGeometry {\n constructor(radius = 1, length = 1, capSegments = 4, radialSegments = 8) {\n const path = new Path()\n path.absarc(0, -length / 2, radius, Math.PI * 1.5, 0)\n path.absarc(0, length / 2, radius, 0, Math.PI * 0.5)\n\n super(path.getPoints(capSegments), radialSegments)\n\n this.type = 'CapsuleGeometry'\n\n this.parameters = {\n radius: radius,\n height: length,\n capSegments: capSegments,\n radialSegments: radialSegments,\n }\n }\n\n static fromJSON(data) {\n return new CapsuleGeometry(data.radius, data.length, data.capSegments, data.radialSegments)\n }\n }\n\n return CapsuleGeometry\n})()\n\nexport { CapsuleGeometry }\n"],"names":["CapsuleGeometry","LatheGeometry","Path"],"mappings":";;;AAEK,MAAC,kBAAmC,uBAAM;AAC7C,QAAMA,yBAAwBC,MAAAA,cAAc;AAAA,IAC1C,YAAY,SAAS,GAAG,SAAS,GAAG,cAAc,GAAG,iBAAiB,GAAG;AACvE,YAAM,OAAO,IAAIC,WAAM;AACvB,WAAK,OAAO,GAAG,CAAC,SAAS,GAAG,QAAQ,KAAK,KAAK,KAAK,CAAC;AACpD,WAAK,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,KAAK,KAAK,GAAG;AAEnD,YAAM,KAAK,UAAU,WAAW,GAAG,cAAc;AAEjD,WAAK,OAAO;AAEZ,WAAK,aAAa;AAAA,QAChB;AAAA,QACA,QAAQ;AAAA,QACR;AAAA,QACA;AAAA,MACD;AAAA,IACF;AAAA,IAED,OAAO,SAAS,MAAM;AACpB,aAAO,IAAIF,iBAAgB,KAAK,QAAQ,KAAK,QAAQ,KAAK,aAAa,KAAK,cAAc;AAAA,IAC3F;AAAA,EACF;AAED,SAAOA;AACT,GAAC;;"}
|
||||
26
node_modules/three-stdlib/_polyfill/CapsuleGeometry.js
generated
vendored
Normal file
26
node_modules/three-stdlib/_polyfill/CapsuleGeometry.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
import { LatheGeometry, Path } from "three";
|
||||
const CapsuleGeometry = /* @__PURE__ */ (() => {
|
||||
class CapsuleGeometry2 extends LatheGeometry {
|
||||
constructor(radius = 1, length = 1, capSegments = 4, radialSegments = 8) {
|
||||
const path = new Path();
|
||||
path.absarc(0, -length / 2, radius, Math.PI * 1.5, 0);
|
||||
path.absarc(0, length / 2, radius, 0, Math.PI * 0.5);
|
||||
super(path.getPoints(capSegments), radialSegments);
|
||||
this.type = "CapsuleGeometry";
|
||||
this.parameters = {
|
||||
radius,
|
||||
height: length,
|
||||
capSegments,
|
||||
radialSegments
|
||||
};
|
||||
}
|
||||
static fromJSON(data) {
|
||||
return new CapsuleGeometry2(data.radius, data.length, data.capSegments, data.radialSegments);
|
||||
}
|
||||
}
|
||||
return CapsuleGeometry2;
|
||||
})();
|
||||
export {
|
||||
CapsuleGeometry
|
||||
};
|
||||
//# sourceMappingURL=CapsuleGeometry.js.map
|
||||
1
node_modules/three-stdlib/_polyfill/CapsuleGeometry.js.map
generated
vendored
Normal file
1
node_modules/three-stdlib/_polyfill/CapsuleGeometry.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CapsuleGeometry.js","sources":["../../src/_polyfill/CapsuleGeometry.js"],"sourcesContent":["import { Path, LatheGeometry } from 'three'\n\nconst CapsuleGeometry = /* @__PURE__ */ (() => {\n class CapsuleGeometry extends LatheGeometry {\n constructor(radius = 1, length = 1, capSegments = 4, radialSegments = 8) {\n const path = new Path()\n path.absarc(0, -length / 2, radius, Math.PI * 1.5, 0)\n path.absarc(0, length / 2, radius, 0, Math.PI * 0.5)\n\n super(path.getPoints(capSegments), radialSegments)\n\n this.type = 'CapsuleGeometry'\n\n this.parameters = {\n radius: radius,\n height: length,\n capSegments: capSegments,\n radialSegments: radialSegments,\n }\n }\n\n static fromJSON(data) {\n return new CapsuleGeometry(data.radius, data.length, data.capSegments, data.radialSegments)\n }\n }\n\n return CapsuleGeometry\n})()\n\nexport { CapsuleGeometry }\n"],"names":["CapsuleGeometry"],"mappings":";AAEK,MAAC,kBAAmC,uBAAM;AAC7C,QAAMA,yBAAwB,cAAc;AAAA,IAC1C,YAAY,SAAS,GAAG,SAAS,GAAG,cAAc,GAAG,iBAAiB,GAAG;AACvE,YAAM,OAAO,IAAI,KAAM;AACvB,WAAK,OAAO,GAAG,CAAC,SAAS,GAAG,QAAQ,KAAK,KAAK,KAAK,CAAC;AACpD,WAAK,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,KAAK,KAAK,GAAG;AAEnD,YAAM,KAAK,UAAU,WAAW,GAAG,cAAc;AAEjD,WAAK,OAAO;AAEZ,WAAK,aAAa;AAAA,QAChB;AAAA,QACA,QAAQ;AAAA,QACR;AAAA,QACA;AAAA,MACD;AAAA,IACF;AAAA,IAED,OAAO,SAAS,MAAM;AACpB,aAAO,IAAIA,iBAAgB,KAAK,QAAQ,KAAK,QAAQ,KAAK,aAAa,KAAK,cAAc;AAAA,IAC3F;AAAA,EACF;AAED,SAAOA;AACT,GAAC;"}
|
||||
13
node_modules/three-stdlib/_polyfill/CompressedArrayTexture.cjs
generated
vendored
Normal file
13
node_modules/three-stdlib/_polyfill/CompressedArrayTexture.cjs
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
const THREE = require("three");
|
||||
class CompressedArrayTexture extends THREE.CompressedTexture {
|
||||
constructor(mipmaps, width, height, depth, format, type) {
|
||||
super(mipmaps, width, height, format, type);
|
||||
this.isCompressedArrayTexture = true;
|
||||
this.image.depth = depth;
|
||||
this.wrapR = THREE.ClampToEdgeWrapping;
|
||||
}
|
||||
}
|
||||
exports.CompressedArrayTexture = CompressedArrayTexture;
|
||||
//# sourceMappingURL=CompressedArrayTexture.cjs.map
|
||||
1
node_modules/three-stdlib/_polyfill/CompressedArrayTexture.cjs.map
generated
vendored
Normal file
1
node_modules/three-stdlib/_polyfill/CompressedArrayTexture.cjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CompressedArrayTexture.cjs","sources":["../../src/_polyfill/CompressedArrayTexture.js"],"sourcesContent":["import { CompressedTexture, ClampToEdgeWrapping } from 'three'\n\nclass CompressedArrayTexture extends CompressedTexture {\n constructor(mipmaps, width, height, depth, format, type) {\n super(mipmaps, width, height, format, type)\n this.isCompressedArrayTexture = true\n this.image.depth = depth\n this.wrapR = ClampToEdgeWrapping\n }\n}\n\nexport { CompressedArrayTexture }\n"],"names":["CompressedTexture","ClampToEdgeWrapping"],"mappings":";;;AAEA,MAAM,+BAA+BA,MAAAA,kBAAkB;AAAA,EACrD,YAAY,SAAS,OAAO,QAAQ,OAAO,QAAQ,MAAM;AACvD,UAAM,SAAS,OAAO,QAAQ,QAAQ,IAAI;AAC1C,SAAK,2BAA2B;AAChC,SAAK,MAAM,QAAQ;AACnB,SAAK,QAAQC,MAAmB;AAAA,EACjC;AACH;;"}
|
||||
13
node_modules/three-stdlib/_polyfill/CompressedArrayTexture.js
generated
vendored
Normal file
13
node_modules/three-stdlib/_polyfill/CompressedArrayTexture.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import { CompressedTexture, ClampToEdgeWrapping } from "three";
|
||||
class CompressedArrayTexture extends CompressedTexture {
|
||||
constructor(mipmaps, width, height, depth, format, type) {
|
||||
super(mipmaps, width, height, format, type);
|
||||
this.isCompressedArrayTexture = true;
|
||||
this.image.depth = depth;
|
||||
this.wrapR = ClampToEdgeWrapping;
|
||||
}
|
||||
}
|
||||
export {
|
||||
CompressedArrayTexture
|
||||
};
|
||||
//# sourceMappingURL=CompressedArrayTexture.js.map
|
||||
1
node_modules/three-stdlib/_polyfill/CompressedArrayTexture.js.map
generated
vendored
Normal file
1
node_modules/three-stdlib/_polyfill/CompressedArrayTexture.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CompressedArrayTexture.js","sources":["../../src/_polyfill/CompressedArrayTexture.js"],"sourcesContent":["import { CompressedTexture, ClampToEdgeWrapping } from 'three'\n\nclass CompressedArrayTexture extends CompressedTexture {\n constructor(mipmaps, width, height, depth, format, type) {\n super(mipmaps, width, height, format, type)\n this.isCompressedArrayTexture = true\n this.image.depth = depth\n this.wrapR = ClampToEdgeWrapping\n }\n}\n\nexport { CompressedArrayTexture }\n"],"names":[],"mappings":";AAEA,MAAM,+BAA+B,kBAAkB;AAAA,EACrD,YAAY,SAAS,OAAO,QAAQ,OAAO,QAAQ,MAAM;AACvD,UAAM,SAAS,OAAO,QAAQ,QAAQ,IAAI;AAC1C,SAAK,2BAA2B;AAChC,SAAK,MAAM,QAAQ;AACnB,SAAK,QAAQ;AAAA,EACd;AACH;"}
|
||||
13
node_modules/three-stdlib/_polyfill/CompressedCubeTexture.cjs
generated
vendored
Normal file
13
node_modules/three-stdlib/_polyfill/CompressedCubeTexture.cjs
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
const THREE = require("three");
|
||||
class CompressedCubeTexture extends THREE.CompressedTexture {
|
||||
constructor(images, format, type) {
|
||||
super(void 0, images[0].width, images[0].height, format, type, THREE.CubeReflectionMapping);
|
||||
this.isCompressedCubeTexture = true;
|
||||
this.isCubeTexture = true;
|
||||
this.image = images;
|
||||
}
|
||||
}
|
||||
exports.CompressedCubeTexture = CompressedCubeTexture;
|
||||
//# sourceMappingURL=CompressedCubeTexture.cjs.map
|
||||
1
node_modules/three-stdlib/_polyfill/CompressedCubeTexture.cjs.map
generated
vendored
Normal file
1
node_modules/three-stdlib/_polyfill/CompressedCubeTexture.cjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CompressedCubeTexture.cjs","sources":["../../src/_polyfill/CompressedCubeTexture.js"],"sourcesContent":["import { CompressedTexture, CubeReflectionMapping } from 'three'\n\nclass CompressedCubeTexture extends CompressedTexture {\n constructor(images, format, type) {\n super(undefined, images[0].width, images[0].height, format, type, CubeReflectionMapping)\n\n this.isCompressedCubeTexture = true\n this.isCubeTexture = true\n\n this.image = images\n }\n}\n\nexport { CompressedCubeTexture }\n"],"names":["CompressedTexture","CubeReflectionMapping"],"mappings":";;;AAEA,MAAM,8BAA8BA,MAAAA,kBAAkB;AAAA,EACpD,YAAY,QAAQ,QAAQ,MAAM;AAChC,UAAM,QAAW,OAAO,CAAC,EAAE,OAAO,OAAO,CAAC,EAAE,QAAQ,QAAQ,MAAMC,MAAAA,qBAAqB;AAEvF,SAAK,0BAA0B;AAC/B,SAAK,gBAAgB;AAErB,SAAK,QAAQ;AAAA,EACd;AACH;;"}
|
||||
13
node_modules/three-stdlib/_polyfill/CompressedCubeTexture.js
generated
vendored
Normal file
13
node_modules/three-stdlib/_polyfill/CompressedCubeTexture.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import { CompressedTexture, CubeReflectionMapping } from "three";
|
||||
class CompressedCubeTexture extends CompressedTexture {
|
||||
constructor(images, format, type) {
|
||||
super(void 0, images[0].width, images[0].height, format, type, CubeReflectionMapping);
|
||||
this.isCompressedCubeTexture = true;
|
||||
this.isCubeTexture = true;
|
||||
this.image = images;
|
||||
}
|
||||
}
|
||||
export {
|
||||
CompressedCubeTexture
|
||||
};
|
||||
//# sourceMappingURL=CompressedCubeTexture.js.map
|
||||
1
node_modules/three-stdlib/_polyfill/CompressedCubeTexture.js.map
generated
vendored
Normal file
1
node_modules/three-stdlib/_polyfill/CompressedCubeTexture.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CompressedCubeTexture.js","sources":["../../src/_polyfill/CompressedCubeTexture.js"],"sourcesContent":["import { CompressedTexture, CubeReflectionMapping } from 'three'\n\nclass CompressedCubeTexture extends CompressedTexture {\n constructor(images, format, type) {\n super(undefined, images[0].width, images[0].height, format, type, CubeReflectionMapping)\n\n this.isCompressedCubeTexture = true\n this.isCubeTexture = true\n\n this.image = images\n }\n}\n\nexport { CompressedCubeTexture }\n"],"names":[],"mappings":";AAEA,MAAM,8BAA8B,kBAAkB;AAAA,EACpD,YAAY,QAAQ,QAAQ,MAAM;AAChC,UAAM,QAAW,OAAO,CAAC,EAAE,OAAO,OAAO,CAAC,EAAE,QAAQ,QAAQ,MAAM,qBAAqB;AAEvF,SAAK,0BAA0B;AAC/B,SAAK,gBAAgB;AAErB,SAAK,QAAQ;AAAA,EACd;AACH;"}
|
||||
18
node_modules/three-stdlib/_polyfill/Data3DTexture.cjs
generated
vendored
Normal file
18
node_modules/three-stdlib/_polyfill/Data3DTexture.cjs
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
const THREE = require("three");
|
||||
class Data3DTexture extends THREE.Texture {
|
||||
constructor(data = null, width = 1, height = 1, depth = 1) {
|
||||
super(null);
|
||||
this.isData3DTexture = true;
|
||||
this.image = { data, width, height, depth };
|
||||
this.magFilter = THREE.NearestFilter;
|
||||
this.minFilter = THREE.NearestFilter;
|
||||
this.wrapR = THREE.ClampToEdgeWrapping;
|
||||
this.generateMipmaps = false;
|
||||
this.flipY = false;
|
||||
this.unpackAlignment = 1;
|
||||
}
|
||||
}
|
||||
exports.Data3DTexture = Data3DTexture;
|
||||
//# sourceMappingURL=Data3DTexture.cjs.map
|
||||
1
node_modules/three-stdlib/_polyfill/Data3DTexture.cjs.map
generated
vendored
Normal file
1
node_modules/three-stdlib/_polyfill/Data3DTexture.cjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Data3DTexture.cjs","sources":["../../src/_polyfill/Data3DTexture.js"],"sourcesContent":["import { Texture, ClampToEdgeWrapping, NearestFilter } from 'three'\n\nclass Data3DTexture extends Texture {\n constructor(data = null, width = 1, height = 1, depth = 1) {\n super(null)\n\n this.isData3DTexture = true\n\n this.image = { data, width, height, depth }\n\n this.magFilter = NearestFilter\n this.minFilter = NearestFilter\n\n this.wrapR = ClampToEdgeWrapping\n\n this.generateMipmaps = false\n this.flipY = false\n this.unpackAlignment = 1\n }\n}\n\nexport { Data3DTexture }\n"],"names":["Texture","NearestFilter","ClampToEdgeWrapping"],"mappings":";;;AAEA,MAAM,sBAAsBA,MAAAA,QAAQ;AAAA,EAClC,YAAY,OAAO,MAAM,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG;AACzD,UAAM,IAAI;AAEV,SAAK,kBAAkB;AAEvB,SAAK,QAAQ,EAAE,MAAM,OAAO,QAAQ,MAAO;AAE3C,SAAK,YAAYC,MAAa;AAC9B,SAAK,YAAYA,MAAa;AAE9B,SAAK,QAAQC,MAAmB;AAEhC,SAAK,kBAAkB;AACvB,SAAK,QAAQ;AACb,SAAK,kBAAkB;AAAA,EACxB;AACH;;"}
|
||||
18
node_modules/three-stdlib/_polyfill/Data3DTexture.js
generated
vendored
Normal file
18
node_modules/three-stdlib/_polyfill/Data3DTexture.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import { Texture, NearestFilter, ClampToEdgeWrapping } from "three";
|
||||
class Data3DTexture extends Texture {
|
||||
constructor(data = null, width = 1, height = 1, depth = 1) {
|
||||
super(null);
|
||||
this.isData3DTexture = true;
|
||||
this.image = { data, width, height, depth };
|
||||
this.magFilter = NearestFilter;
|
||||
this.minFilter = NearestFilter;
|
||||
this.wrapR = ClampToEdgeWrapping;
|
||||
this.generateMipmaps = false;
|
||||
this.flipY = false;
|
||||
this.unpackAlignment = 1;
|
||||
}
|
||||
}
|
||||
export {
|
||||
Data3DTexture
|
||||
};
|
||||
//# sourceMappingURL=Data3DTexture.js.map
|
||||
1
node_modules/three-stdlib/_polyfill/Data3DTexture.js.map
generated
vendored
Normal file
1
node_modules/three-stdlib/_polyfill/Data3DTexture.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Data3DTexture.js","sources":["../../src/_polyfill/Data3DTexture.js"],"sourcesContent":["import { Texture, ClampToEdgeWrapping, NearestFilter } from 'three'\n\nclass Data3DTexture extends Texture {\n constructor(data = null, width = 1, height = 1, depth = 1) {\n super(null)\n\n this.isData3DTexture = true\n\n this.image = { data, width, height, depth }\n\n this.magFilter = NearestFilter\n this.minFilter = NearestFilter\n\n this.wrapR = ClampToEdgeWrapping\n\n this.generateMipmaps = false\n this.flipY = false\n this.unpackAlignment = 1\n }\n}\n\nexport { Data3DTexture }\n"],"names":[],"mappings":";AAEA,MAAM,sBAAsB,QAAQ;AAAA,EAClC,YAAY,OAAO,MAAM,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG;AACzD,UAAM,IAAI;AAEV,SAAK,kBAAkB;AAEvB,SAAK,QAAQ,EAAE,MAAM,OAAO,QAAQ,MAAO;AAE3C,SAAK,YAAY;AACjB,SAAK,YAAY;AAEjB,SAAK,QAAQ;AAEb,SAAK,kBAAkB;AACvB,SAAK,QAAQ;AACb,SAAK,kBAAkB;AAAA,EACxB;AACH;"}
|
||||
18
node_modules/three-stdlib/_polyfill/LoaderUtils.cjs
generated
vendored
Normal file
18
node_modules/three-stdlib/_polyfill/LoaderUtils.cjs
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
function decodeText(array) {
|
||||
if (typeof TextDecoder !== "undefined") {
|
||||
return new TextDecoder().decode(array);
|
||||
}
|
||||
let s = "";
|
||||
for (let i = 0, il = array.length; i < il; i++) {
|
||||
s += String.fromCharCode(array[i]);
|
||||
}
|
||||
try {
|
||||
return decodeURIComponent(escape(s));
|
||||
} catch (e) {
|
||||
return s;
|
||||
}
|
||||
}
|
||||
exports.decodeText = decodeText;
|
||||
//# sourceMappingURL=LoaderUtils.cjs.map
|
||||
1
node_modules/three-stdlib/_polyfill/LoaderUtils.cjs.map
generated
vendored
Normal file
1
node_modules/three-stdlib/_polyfill/LoaderUtils.cjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"LoaderUtils.cjs","sources":["../../src/_polyfill/LoaderUtils.js"],"sourcesContent":["export function decodeText(array) {\n if (typeof TextDecoder !== 'undefined') {\n return new TextDecoder().decode(array)\n }\n\n // Avoid the String.fromCharCode.apply(null, array) shortcut, which\n // throws a \"maximum call stack size exceeded\" error for large arrays.\n\n let s = ''\n\n for (let i = 0, il = array.length; i < il; i++) {\n // Implicitly assumes little-endian.\n s += String.fromCharCode(array[i])\n }\n\n try {\n // merges multi-byte utf-8 characters.\n\n return decodeURIComponent(escape(s))\n } catch (e) {\n // see https://github.com/mrdoob/three.js/issues/16358\n\n return s\n }\n}\n"],"names":[],"mappings":";;AAAO,SAAS,WAAW,OAAO;AAChC,MAAI,OAAO,gBAAgB,aAAa;AACtC,WAAO,IAAI,YAAW,EAAG,OAAO,KAAK;AAAA,EACtC;AAKD,MAAI,IAAI;AAER,WAAS,IAAI,GAAG,KAAK,MAAM,QAAQ,IAAI,IAAI,KAAK;AAE9C,SAAK,OAAO,aAAa,MAAM,CAAC,CAAC;AAAA,EAClC;AAED,MAAI;AAGF,WAAO,mBAAmB,OAAO,CAAC,CAAC;AAAA,EACpC,SAAQ,GAAP;AAGA,WAAO;AAAA,EACR;AACH;;"}
|
||||
18
node_modules/three-stdlib/_polyfill/LoaderUtils.js
generated
vendored
Normal file
18
node_modules/three-stdlib/_polyfill/LoaderUtils.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
function decodeText(array) {
|
||||
if (typeof TextDecoder !== "undefined") {
|
||||
return new TextDecoder().decode(array);
|
||||
}
|
||||
let s = "";
|
||||
for (let i = 0, il = array.length; i < il; i++) {
|
||||
s += String.fromCharCode(array[i]);
|
||||
}
|
||||
try {
|
||||
return decodeURIComponent(escape(s));
|
||||
} catch (e) {
|
||||
return s;
|
||||
}
|
||||
}
|
||||
export {
|
||||
decodeText
|
||||
};
|
||||
//# sourceMappingURL=LoaderUtils.js.map
|
||||
1
node_modules/three-stdlib/_polyfill/LoaderUtils.js.map
generated
vendored
Normal file
1
node_modules/three-stdlib/_polyfill/LoaderUtils.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"LoaderUtils.js","sources":["../../src/_polyfill/LoaderUtils.js"],"sourcesContent":["export function decodeText(array) {\n if (typeof TextDecoder !== 'undefined') {\n return new TextDecoder().decode(array)\n }\n\n // Avoid the String.fromCharCode.apply(null, array) shortcut, which\n // throws a \"maximum call stack size exceeded\" error for large arrays.\n\n let s = ''\n\n for (let i = 0, il = array.length; i < il; i++) {\n // Implicitly assumes little-endian.\n s += String.fromCharCode(array[i])\n }\n\n try {\n // merges multi-byte utf-8 characters.\n\n return decodeURIComponent(escape(s))\n } catch (e) {\n // see https://github.com/mrdoob/three.js/issues/16358\n\n return s\n }\n}\n"],"names":[],"mappings":"AAAO,SAAS,WAAW,OAAO;AAChC,MAAI,OAAO,gBAAgB,aAAa;AACtC,WAAO,IAAI,YAAW,EAAG,OAAO,KAAK;AAAA,EACtC;AAKD,MAAI,IAAI;AAER,WAAS,IAAI,GAAG,KAAK,MAAM,QAAQ,IAAI,IAAI,KAAK;AAE9C,SAAK,OAAO,aAAa,MAAM,CAAC,CAAC;AAAA,EAClC;AAED,MAAI;AAGF,WAAO,mBAAmB,OAAO,CAAC,CAAC;AAAA,EACpC,SAAQ,GAAP;AAGA,WAAO;AAAA,EACR;AACH;"}
|
||||
6
node_modules/three-stdlib/_polyfill/constants.cjs
generated
vendored
Normal file
6
node_modules/three-stdlib/_polyfill/constants.cjs
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
const THREE = require("three");
|
||||
const version = /* @__PURE__ */ (() => parseInt(THREE.REVISION.replace(/\D+/g, "")))();
|
||||
exports.version = version;
|
||||
//# sourceMappingURL=constants.cjs.map
|
||||
1
node_modules/three-stdlib/_polyfill/constants.cjs.map
generated
vendored
Normal file
1
node_modules/three-stdlib/_polyfill/constants.cjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"constants.cjs","sources":["../../src/_polyfill/constants.ts"],"sourcesContent":["import { REVISION } from 'three'\n\nexport const version = /* @__PURE__ */ (() => parseInt(REVISION.replace(/\\D+/g, '')))()\n"],"names":["REVISION"],"mappings":";;;AAEa,MAAA,iCAAiC,SAASA,MAAAA,SAAS,QAAQ,QAAQ,EAAE,CAAC,GAAG;;"}
|
||||
1
node_modules/three-stdlib/_polyfill/constants.d.ts
generated
vendored
Normal file
1
node_modules/three-stdlib/_polyfill/constants.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export declare const version: number;
|
||||
6
node_modules/three-stdlib/_polyfill/constants.js
generated
vendored
Normal file
6
node_modules/three-stdlib/_polyfill/constants.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import { REVISION } from "three";
|
||||
const version = /* @__PURE__ */ (() => parseInt(REVISION.replace(/\D+/g, "")))();
|
||||
export {
|
||||
version
|
||||
};
|
||||
//# sourceMappingURL=constants.js.map
|
||||
1
node_modules/three-stdlib/_polyfill/constants.js.map
generated
vendored
Normal file
1
node_modules/three-stdlib/_polyfill/constants.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"constants.js","sources":["../../src/_polyfill/constants.ts"],"sourcesContent":["import { REVISION } from 'three'\n\nexport const version = /* @__PURE__ */ (() => parseInt(REVISION.replace(/\\D+/g, '')))()\n"],"names":[],"mappings":";AAEa,MAAA,iCAAiC,SAAS,SAAS,QAAQ,QAAQ,EAAE,CAAC,GAAG;"}
|
||||
6
node_modules/three-stdlib/_polyfill/uv1.cjs
generated
vendored
Normal file
6
node_modules/three-stdlib/_polyfill/uv1.cjs
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
const constants = require("./constants.cjs");
|
||||
const UV1 = constants.version >= 125 ? "uv1" : "uv2";
|
||||
exports.UV1 = UV1;
|
||||
//# sourceMappingURL=uv1.cjs.map
|
||||
1
node_modules/three-stdlib/_polyfill/uv1.cjs.map
generated
vendored
Normal file
1
node_modules/three-stdlib/_polyfill/uv1.cjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"uv1.cjs","sources":["../../src/_polyfill/uv1.ts"],"sourcesContent":["import { version } from \"./constants\";\n\n/** uv2 renamed to uv1 in r125\n * \n * https://github.com/mrdoob/three.js/pull/25943\n*/\nexport const UV1 = version >= 125 ? 'uv1' : 'uv2'"],"names":["version"],"mappings":";;;AAMa,MAAA,MAAMA,UAAAA,WAAW,MAAM,QAAQ;;"}
|
||||
5
node_modules/three-stdlib/_polyfill/uv1.d.ts
generated
vendored
Normal file
5
node_modules/three-stdlib/_polyfill/uv1.d.ts
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
/** uv2 renamed to uv1 in r125
|
||||
*
|
||||
* https://github.com/mrdoob/three.js/pull/25943
|
||||
*/
|
||||
export declare const UV1: string;
|
||||
6
node_modules/three-stdlib/_polyfill/uv1.js
generated
vendored
Normal file
6
node_modules/three-stdlib/_polyfill/uv1.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import { version } from "./constants.js";
|
||||
const UV1 = version >= 125 ? "uv1" : "uv2";
|
||||
export {
|
||||
UV1
|
||||
};
|
||||
//# sourceMappingURL=uv1.js.map
|
||||
1
node_modules/three-stdlib/_polyfill/uv1.js.map
generated
vendored
Normal file
1
node_modules/three-stdlib/_polyfill/uv1.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"uv1.js","sources":["../../src/_polyfill/uv1.ts"],"sourcesContent":["import { version } from \"./constants\";\n\n/** uv2 renamed to uv1 in r125\n * \n * https://github.com/mrdoob/three.js/pull/25943\n*/\nexport const UV1 = version >= 125 ? 'uv1' : 'uv2'"],"names":[],"mappings":";AAMa,MAAA,MAAM,WAAW,MAAM,QAAQ;"}
|
||||
Reference in New Issue
Block a user