@xviewer.js/core 1.0.4-alpha.4 → 1.0.4-alpha.6
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/main.cjs +7 -18
- package/dist/main.cjs.map +1 -1
- package/dist/module.js +6 -17
- package/dist/module.js.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -7,7 +7,7 @@ import * as THREE from 'three';
|
|
|
7
7
|
import { EquirectangularReflectionMapping, FileLoader, TextureLoader as TextureLoader$1, SRGBColorSpace, CubeUVReflectionMapping, Mesh, BoxGeometry, SphereGeometry, PlaneGeometry, MathUtils, Vector3, Vector2, LinearInterpolant, Object3D, Plane as Plane$1, Matrix4, Vector4, PerspectiveCamera, WebGLRenderTarget, LinearMipMapLinearFilter, LinearFilter, HalfFloatType, AnimationMixer, Color, OrthographicCamera, MeshDepthMaterial, ShaderMaterial, Euler, Group, REVISION, Box3, Sphere as Sphere$1, Raycaster, Quaternion, Spherical, UniformsUtils, NoBlending, AdditiveBlending, FloatType, UnsignedByteType, LinearSRGBColorSpace, NearestFilter, ClampToEdgeWrapping, WebGLCubeRenderTarget, DataTexture, RGBAFormat, UVMapping, BufferGeometry, Float32BufferAttribute, Scene, WebGLRenderer, LinearToneMapping, PCFSoftShadowMap, LoadingManager, PMREMGenerator, CubeCamera, ShaderLib, ShaderChunk } from 'three';
|
|
8
8
|
import { RGBELoader } from 'three/examples/jsm/loaders/RGBELoader.js';
|
|
9
9
|
import { SVGLoader as SVGLoader$1 } from 'three/examples/jsm/loaders/SVGLoader.js';
|
|
10
|
-
import { KTX2Loader as KTX2Loader$1 } from 'three/examples/jsm/loaders/KTX2Loader';
|
|
10
|
+
import { KTX2Loader as KTX2Loader$1 } from 'three/examples/jsm/loaders/KTX2Loader.js';
|
|
11
11
|
import { HorizontalBlurShader, VerticalBlurShader } from 'three/examples/jsm/Addons.js';
|
|
12
12
|
|
|
13
13
|
class EventEmitter {
|
|
@@ -2252,22 +2252,11 @@ class ComponentScheduler {
|
|
|
2252
2252
|
}
|
|
2253
2253
|
}
|
|
2254
2254
|
constructor(){
|
|
2255
|
-
this.startInvoker = new InvokerOneCall((comp)=>
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
this.
|
|
2260
|
-
!comp.start && comp.update(dt);
|
|
2261
|
-
});
|
|
2262
|
-
this.lastUpdateInvoker = new Invoker((comp, dt)=>{
|
|
2263
|
-
!comp.start && comp.lastUpdate(dt);
|
|
2264
|
-
});
|
|
2265
|
-
this.renderInvoker = new Invoker((comp, dt)=>{
|
|
2266
|
-
!comp.start && comp.render(dt);
|
|
2267
|
-
});
|
|
2268
|
-
this.resizeInvoker = new Invoker((comp, width, height)=>{
|
|
2269
|
-
!comp.start && comp.resize(width, height);
|
|
2270
|
-
});
|
|
2255
|
+
this.startInvoker = new InvokerOneCall((comp)=>comp.start());
|
|
2256
|
+
this.updateInvoker = new Invoker((comp, dt)=>comp.update(dt));
|
|
2257
|
+
this.lastUpdateInvoker = new Invoker((comp, dt)=>comp.lastUpdate(dt));
|
|
2258
|
+
this.renderInvoker = new Invoker((comp, dt)=>comp.render(dt));
|
|
2259
|
+
this.resizeInvoker = new Invoker((comp, width, height)=>comp.resize(width, height));
|
|
2271
2260
|
}
|
|
2272
2261
|
}
|
|
2273
2262
|
|