@soonspacejs/plugin-patrol-controls 2.11.26 → 2.11.28
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 +2 -2
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PerspectiveCamera } from 'three';
|
|
1
|
+
import { PerspectiveCamera, OrthographicCamera } from 'three';
|
|
2
2
|
import SoonSpace from 'soonspacejs';
|
|
3
3
|
import type { CameraViewpointData, Position } from 'soonspacejs';
|
|
4
4
|
import type { Node } from 'soonspacejs/types/Library';
|
|
@@ -40,7 +40,7 @@ export type StartOptions = Partial<DefaultOptions>;
|
|
|
40
40
|
export type ResetOptions = Pick<StartOptions, 'eyeHeight' | 'naviSpeed' | 'rotateSpeed'>;
|
|
41
41
|
export default class PatrolControlsPlugin {
|
|
42
42
|
readonly ssp: SoonSpace;
|
|
43
|
-
camera: PerspectiveCamera;
|
|
43
|
+
camera: PerspectiveCamera | OrthographicCamera;
|
|
44
44
|
options: DefaultOptions;
|
|
45
45
|
states: {
|
|
46
46
|
moveDuration: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soonspacejs/plugin-patrol-controls",
|
|
3
3
|
"pluginName": "PatrolControlsPlugin",
|
|
4
|
-
"version": "2.11.
|
|
4
|
+
"version": "2.11.28",
|
|
5
5
|
"description": "Patrol-controls plugin for SoonSpace.js",
|
|
6
6
|
"main": "dist/index.esm.js",
|
|
7
7
|
"module": "dist/index.esm.js",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
],
|
|
14
14
|
"author": "xunwei",
|
|
15
15
|
"license": "UNLICENSED",
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "0f600384831eda612ffcad94a6bbe5b289988c87",
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"soonspacejs": "2.11.
|
|
18
|
+
"soonspacejs": "2.11.28"
|
|
19
19
|
}
|
|
20
20
|
}
|