@dreamcomposer/engine-types 0.0.28-next.2 → 0.0.28-next.3
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.
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ToEngineMessage } from "../post-messages";
|
|
2
|
-
import { Vector2 } from "@babylonjs/core/Maths/math";
|
|
3
2
|
|
|
4
3
|
// Mouse events from engine to clients
|
|
5
4
|
export interface PointerEvent {
|
|
@@ -8,7 +7,10 @@ export interface PointerEvent {
|
|
|
8
7
|
drag: boolean;
|
|
9
8
|
type: string;
|
|
10
9
|
buttons: number;
|
|
11
|
-
pick?:
|
|
10
|
+
pick?: {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
};
|
|
12
14
|
shiftKey: boolean;
|
|
13
15
|
}
|
|
14
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dreamcomposer/engine-types",
|
|
3
|
-
"version": "0.0.28-next.
|
|
3
|
+
"version": "0.0.28-next.3",
|
|
4
4
|
"description": "The type definitions for messages from and to the engine",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
"**/*.ts"
|
|
9
9
|
],
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@babylonjs/core": "5.18.0",
|
|
12
11
|
"prettier": "^2.5.1",
|
|
13
12
|
"typescript": "^4.4.4"
|
|
14
13
|
},
|