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.
|
@@ -6,6 +6,7 @@ export * as Settings from './settings';
|
|
|
6
6
|
export * as Webgl from './webgl';
|
|
7
7
|
export * as Ultra from './ultra';
|
|
8
8
|
export * as Errors from './errors';
|
|
9
|
+
export * as Urls from './urls';
|
|
9
10
|
export * from './container';
|
|
10
11
|
export type * from './helpers';
|
|
11
12
|
export type * from './panels';
|
package/dist/vim-web.iife.js
CHANGED
|
@@ -29211,7 +29211,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
29211
29211
|
constructor(manager) {
|
|
29212
29212
|
super(manager);
|
|
29213
29213
|
}
|
|
29214
|
-
load(
|
|
29214
|
+
load(urls2, onLoad, onProgress, onError) {
|
|
29215
29215
|
const texture = new CubeTexture();
|
|
29216
29216
|
texture.colorSpace = SRGBColorSpace;
|
|
29217
29217
|
const loader = new ImageLoader(this.manager);
|
|
@@ -29219,7 +29219,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
29219
29219
|
loader.setPath(this.path);
|
|
29220
29220
|
let loaded = 0;
|
|
29221
29221
|
function loadTexture(i2) {
|
|
29222
|
-
loader.load(
|
|
29222
|
+
loader.load(urls2[i2], function(image) {
|
|
29223
29223
|
texture.images[i2] = image;
|
|
29224
29224
|
loaded++;
|
|
29225
29225
|
if (loaded === 6) {
|
|
@@ -29228,7 +29228,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
29228
29228
|
}
|
|
29229
29229
|
}, void 0, onError);
|
|
29230
29230
|
}
|
|
29231
|
-
for (let i2 = 0; i2 <
|
|
29231
|
+
for (let i2 = 0; i2 < urls2.length; ++i2) {
|
|
29232
29232
|
loadTexture(i2);
|
|
29233
29233
|
}
|
|
29234
29234
|
return texture;
|
|
@@ -74903,6 +74903,13 @@ Averrage Date/Second ${avgDataRatePS} kb
|
|
|
74903
74903
|
}
|
|
74904
74904
|
const support = "https://docs.vimaec.com";
|
|
74905
74905
|
const supportUltra = "https://docs.vimaec.com/docs/vim-for-windows/configuring-vim-ultra";
|
|
74906
|
+
const supportControls = "https://docs.vimaec.com/docs/vim-cloud/webgl-navigation-and-controls-guide";
|
|
74907
|
+
const urls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
74908
|
+
__proto__: null,
|
|
74909
|
+
support,
|
|
74910
|
+
supportControls,
|
|
74911
|
+
supportUltra
|
|
74912
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
74906
74913
|
function fileOpeningError(url) {
|
|
74907
74914
|
return {
|
|
74908
74915
|
title: "File Opening Error",
|
|
@@ -76352,6 +76359,7 @@ Averrage Date/Second ${avgDataRatePS} kb
|
|
|
76352
76359
|
Icons: icons,
|
|
76353
76360
|
Settings: index$4,
|
|
76354
76361
|
Ultra: index$1,
|
|
76362
|
+
Urls: urls,
|
|
76355
76363
|
Webgl: index$2,
|
|
76356
76364
|
createContainer
|
|
76357
76365
|
}, Symbol.toStringTag, { value: "Module" }));
|