soonspacejs 2.7.0 → 2.7.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "soonspacejs",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.2",
|
|
4
4
|
"homepage": "http://www.xwbuilders.com:8800/",
|
|
5
5
|
"description": "soonspacejs 2.x",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -21,14 +21,10 @@
|
|
|
21
21
|
"author": "xuek",
|
|
22
22
|
"license": "UNLICENSED",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"
|
|
25
|
-
"@three3d/animation": "^1.2.4",
|
|
26
|
-
"@three3d/tools": "^1.3.6",
|
|
27
|
-
"@tweenjs/tween.js": "^18.6.4",
|
|
28
|
-
"three-mesh-bvh": "0.5.23"
|
|
24
|
+
"three-mesh-bvh": "0.6.0"
|
|
29
25
|
},
|
|
30
26
|
"peerDependencies": {
|
|
31
27
|
"three": ">=0.152.2"
|
|
32
28
|
},
|
|
33
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "7fd7c248e25fa05927b2dcb90370855716d0cc06"
|
|
34
30
|
}
|
|
@@ -10,7 +10,6 @@ declare class EffectManager {
|
|
|
10
10
|
readonly camera: Camera;
|
|
11
11
|
static CONSTANTS: {
|
|
12
12
|
renderPass: string;
|
|
13
|
-
normalPass: string;
|
|
14
13
|
ssaoPass: string;
|
|
15
14
|
effectPass: string;
|
|
16
15
|
smaaEffect: string;
|
|
@@ -36,7 +35,6 @@ declare class EffectManager {
|
|
|
36
35
|
private _initEffectComposer;
|
|
37
36
|
private _initPasses;
|
|
38
37
|
private _initRenderPass;
|
|
39
|
-
private _initNormalPass;
|
|
40
38
|
private _initSSAOPass;
|
|
41
39
|
private _initEffectPass;
|
|
42
40
|
private _initEffects;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="stats.js" />
|
|
2
|
-
import { Mesh, Clock, Scene, PerspectiveCamera, WebGLRenderer, PMREMGenerator, Vector3, AnimationMixer, Raycaster, Intersection, Object3D, AnimationClip, Texture } from 'three';
|
|
2
|
+
import { Mesh, Clock, Scene, PerspectiveCamera, WebGLRenderer, PMREMGenerator, Vector3, AnimationMixer, Raycaster, Intersection, Object3D, AnimationClip, Texture, Material } from 'three';
|
|
3
3
|
import { EffectComposer } from 'postprocessing';
|
|
4
4
|
import Stats from 'three/examples/jsm/libs/stats.module.js';
|
|
5
5
|
import { Sky } from 'three/examples/jsm/objects/Sky.js';
|
|
@@ -121,7 +121,7 @@ declare class Viewport {
|
|
|
121
121
|
};
|
|
122
122
|
getPositionByOffset(offset: OffsetPoint, z?: number): Vector3;
|
|
123
123
|
getIntersects(event: MouseEvent | TouchEvent | OffsetPoint, objects?: Object3D<import("three").Event>[], options?: IntersectsOptions): Intersection<Object3D<import("three").Event>>[];
|
|
124
|
-
rayClash(startPoint?: Vector3, dir?: Vector3, objects?: Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>,
|
|
124
|
+
rayClash(startPoint?: Vector3, dir?: Vector3, objects?: Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, Material | Material[]>[]): Intersection<Object3D<import("three").Event>>[];
|
|
125
125
|
setHoverEnabled(enabled: boolean): void;
|
|
126
126
|
clearSignals(): void;
|
|
127
127
|
dispose(): void;
|