vim-web 0.3.44-dev.51 → 0.3.44-dev.52
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/dist/vim-web.js
CHANGED
|
@@ -29195,7 +29195,7 @@ class CubeTextureLoader extends Loader {
|
|
|
29195
29195
|
constructor(manager) {
|
|
29196
29196
|
super(manager);
|
|
29197
29197
|
}
|
|
29198
|
-
load(
|
|
29198
|
+
load(urls2, onLoad, onProgress, onError) {
|
|
29199
29199
|
const texture = new CubeTexture();
|
|
29200
29200
|
texture.colorSpace = SRGBColorSpace;
|
|
29201
29201
|
const loader = new ImageLoader(this.manager);
|
|
@@ -29203,7 +29203,7 @@ class CubeTextureLoader extends Loader {
|
|
|
29203
29203
|
loader.setPath(this.path);
|
|
29204
29204
|
let loaded = 0;
|
|
29205
29205
|
function loadTexture(i) {
|
|
29206
|
-
loader.load(
|
|
29206
|
+
loader.load(urls2[i], function(image) {
|
|
29207
29207
|
texture.images[i] = image;
|
|
29208
29208
|
loaded++;
|
|
29209
29209
|
if (loaded === 6) {
|
|
@@ -29212,7 +29212,7 @@ class CubeTextureLoader extends Loader {
|
|
|
29212
29212
|
}
|
|
29213
29213
|
}, void 0, onError);
|
|
29214
29214
|
}
|
|
29215
|
-
for (let i = 0; i <
|
|
29215
|
+
for (let i = 0; i < urls2.length; ++i) {
|
|
29216
29216
|
loadTexture(i);
|
|
29217
29217
|
}
|
|
29218
29218
|
return texture;
|
|
@@ -74887,6 +74887,13 @@ function link(url, text) {
|
|
|
74887
74887
|
}
|
|
74888
74888
|
const support = "https://docs.vimaec.com";
|
|
74889
74889
|
const supportUltra = "https://docs.vimaec.com/docs/vim-for-windows/configuring-vim-ultra";
|
|
74890
|
+
const supportControls = "https://docs.vimaec.com/docs/vim-cloud/webgl-navigation-and-controls-guide";
|
|
74891
|
+
const urls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
74892
|
+
__proto__: null,
|
|
74893
|
+
support,
|
|
74894
|
+
supportControls,
|
|
74895
|
+
supportUltra
|
|
74896
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
74890
74897
|
function fileOpeningError(url) {
|
|
74891
74898
|
return {
|
|
74892
74899
|
title: "File Opening Error",
|
|
@@ -76336,6 +76343,7 @@ const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
76336
76343
|
Icons: icons,
|
|
76337
76344
|
Settings: index$4,
|
|
76338
76345
|
Ultra: index$1,
|
|
76346
|
+
Urls: urls,
|
|
76339
76347
|
Webgl: index$2,
|
|
76340
76348
|
createContainer
|
|
76341
76349
|
}, Symbol.toStringTag, { value: "Module" }));
|