@tomorrowevening/hermes 0.0.108 → 0.0.110
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/hermes.cjs.js +11 -11
- package/dist/hermes.es.js +262 -247
- package/package.json +1 -1
- package/types/editor/tools/Transform.d.ts +23 -23
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"module": "./dist/hermes.esm.js",
|
|
8
8
|
"types": "./types/index.d.ts",
|
|
9
9
|
"type": "module",
|
|
10
|
-
"version": "0.0.
|
|
10
|
+
"version": "0.0.110",
|
|
11
11
|
"homepage": "https://github.com/tomorrowevening/hermes#readme",
|
|
12
12
|
"bugs": {
|
|
13
13
|
"url": "https://github.com/tomorrowevening/hermes/issues"
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { Camera, EventDispatcher } from 'three';
|
|
2
|
-
import { TransformControls } from 'three/examples/jsm/controls/TransformControls';
|
|
3
|
-
import RemoteThree from '@/core/remote/RemoteThree';
|
|
4
|
-
export default class Transform extends EventDispatcher {
|
|
5
|
-
static DRAG_START: string;
|
|
6
|
-
static DRAG_END: string;
|
|
7
|
-
private static _instance;
|
|
8
|
-
three: RemoteThree;
|
|
9
|
-
activeCamera: Camera;
|
|
10
|
-
controls: Map<string, TransformControls>;
|
|
11
|
-
private visibility;
|
|
12
|
-
constructor();
|
|
13
|
-
clear(): void;
|
|
14
|
-
add(name: string): TransformControls;
|
|
15
|
-
get(name: string): TransformControls | undefined;
|
|
16
|
-
remove(name: string): boolean;
|
|
17
|
-
enabled(value: boolean): void;
|
|
18
|
-
updateCamera(camera: Camera, element: HTMLElement): void;
|
|
19
|
-
show(): void;
|
|
20
|
-
hide(): void;
|
|
21
|
-
private setScene;
|
|
22
|
-
static get instance(): Transform;
|
|
23
|
-
}
|
|
1
|
+
import { Camera, EventDispatcher } from 'three';
|
|
2
|
+
import { TransformControls } from 'three/examples/jsm/controls/TransformControls';
|
|
3
|
+
import RemoteThree from '@/core/remote/RemoteThree';
|
|
4
|
+
export default class Transform extends EventDispatcher {
|
|
5
|
+
static DRAG_START: string;
|
|
6
|
+
static DRAG_END: string;
|
|
7
|
+
private static _instance;
|
|
8
|
+
three: RemoteThree;
|
|
9
|
+
activeCamera: Camera;
|
|
10
|
+
controls: Map<string, TransformControls>;
|
|
11
|
+
private visibility;
|
|
12
|
+
constructor();
|
|
13
|
+
clear(): void;
|
|
14
|
+
add(name: string): TransformControls;
|
|
15
|
+
get(name: string): TransformControls | undefined;
|
|
16
|
+
remove(name: string): boolean;
|
|
17
|
+
enabled(value: boolean): void;
|
|
18
|
+
updateCamera(camera: Camera, element: HTMLElement): void;
|
|
19
|
+
show(): void;
|
|
20
|
+
hide(): void;
|
|
21
|
+
private setScene;
|
|
22
|
+
static get instance(): Transform;
|
|
23
|
+
}
|