vis-core 0.30.0-beta.70 → 0.30.0-beta.71

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/index.d.ts CHANGED
@@ -1721,7 +1721,7 @@ declare class Tube extends BaseObject {
1721
1721
 
1722
1722
  export { TWEEN }
1723
1723
 
1724
- export declare const VERSION = "0.30.0-beta.70";
1724
+ export declare const VERSION = "0.30.0-beta.71";
1725
1725
 
1726
1726
  declare class Viewport {
1727
1727
  editor: Editor;
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ import { continentsCountriesIso2 as y9 } from "geojson-cn";
13
13
  Array.prototype.at || (Array.prototype.at = function(r) {
14
14
  return r < 0 && (r = this.length + r), this[r];
15
15
  });
16
- const O2 = "0.30.0-beta.70";
16
+ const O2 = "0.30.0-beta.71";
17
17
  var Ci = Object.freeze({
18
18
  Linear: Object.freeze({
19
19
  None: function(r) {
@@ -41121,7 +41121,7 @@ const Lx = {
41121
41121
  const { loader: e } = this;
41122
41122
  e.add(["/image/earth2/basic.jpg", "/image/earth2/NormalMap.jpg"]);
41123
41123
  }, r.initMaterial = async function() {
41124
- const e = this.loader, t = e.getAsset("/image/earth2/basic.jpg"), i = e.getAsset("/image/earth2/NormalMap.jpg"), n = new Tt({
41124
+ const e = r.pencil.loader, t = e.getAsset("/image/earth2/basic.jpg"), i = e.getAsset("/image/earth2/NormalMap.jpg"), n = new Tt({
41125
41125
  name: "地球材质",
41126
41126
  map: t,
41127
41127
  metalness: 0.1,
@@ -41240,7 +41240,7 @@ const Lx = {
41240
41240
  !1
41241
41241
  ), await this.pencil.controls.dollyTo(99.11560932366835, !1);
41242
41242
  }, r.initMaterial = async function() {
41243
- const e = this.loader, t = new Tt({
41243
+ const e = r.pencil.loader, t = new Tt({
41244
41244
  side: At,
41245
41245
  name: "顶面",
41246
41246
  color: new q("#0d8a8c"),
@@ -41963,11 +41963,11 @@ const ny = (r) => {
41963
41963
  ${r}
41964
41964
  `, e;
41965
41965
  }, sy = (r) => {
41966
- r.loaderAdd = function() {
41967
- const e = this.loader;
41966
+ r.loaderAdd = () => {
41967
+ const e = r.pencil.loader;
41968
41968
  e.add(["/image/map/jianbian.webp"]), e.add(["/image/map/hp2.webp", "/image/map/fx2.webp"]);
41969
41969
  }, r.initMaterial = async function() {
41970
- const e = this.loader, t = this.mList, i = (() => {
41970
+ const e = r.pencil.loader, t = this.mList, i = (() => {
41971
41971
  const n = e.getAsset("/image/map/hp2.webp");
41972
41972
  n.center.set(0.5, 0.5), n.repeat.set(0.97, 1.01);
41973
41973
  const s = new Tt({
@@ -42038,13 +42038,13 @@ const ny = (r) => {
42038
42038
  };
42039
42039
  }, ay = (r) => {
42040
42040
  r.options.lineOffset = 5e-3, r.loaderAdd = async function() {
42041
- this.loader.add([
42041
+ r.pencil.loader.add([
42042
42042
  "/image/map/jianbian.webp",
42043
42043
  "/image/map/hp.webp",
42044
42044
  "/image/map/shuchu2.webp"
42045
42045
  ]), this.loaderAddBg();
42046
42046
  }, r.initMaterial = async function() {
42047
- const e = this.loader, t = (() => {
42047
+ const e = r.pencil.loader, t = (() => {
42048
42048
  const i = new Tt({
42049
42049
  name: "顶面",
42050
42050
  map: e.getAsset("/image/map/hp.webp"),
@@ -42076,9 +42076,9 @@ const ny = (r) => {
42076
42076
  };
42077
42077
  }, oy = (r) => {
42078
42078
  r.loaderAdd = async function() {
42079
- this.loader.add(["/image/map/jianbian.webp"]), this.loaderAddBg();
42079
+ r.pencil.loader.add(["/image/map/jianbian.webp"]), this.loaderAddBg();
42080
42080
  }, r.initMaterial = async function() {
42081
- const e = this.loader, t = (() => {
42081
+ const e = r.pencil.loader, t = (() => {
42082
42082
  const i = new Fe({
42083
42083
  name: "顶面",
42084
42084
  color: new q("#0d2425")
@@ -42129,7 +42129,7 @@ const ny = (r) => {
42129
42129
  }, r.options.parentBg && (r.extendsOptions.parentBgDepth = () => r.options.parentBgDepth), r.loaderAdd = function() {
42130
42130
  this.pencil.loader.add(["/image/map2/side.png"]);
42131
42131
  }, r.initMaterial = async function() {
42132
- const t = this.loader, i = (() => {
42132
+ const t = r.pencil.loader, i = (() => {
42133
42133
  const n = new Fe({
42134
42134
  name: "板块顶面",
42135
42135
  color: "#094253"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vis-core",
3
- "version": "0.30.0-beta.70",
3
+ "version": "0.30.0-beta.71",
4
4
  "scripts": {
5
5
  "start": "npm run version && vite preview",
6
6
  "build:site": "npm run version && vite build",