@dreamcomposer/engine-types 2.0.0-next.1 → 2.0.1

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.
Files changed (2) hide show
  1. package/Camera.d.ts +3 -3
  2. package/package.json +2 -2
package/Camera.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  export interface CameraPosition {
2
2
  /**
3
- * 3D world position where the camera is focused on.
4
- *
5
- * Fallback is [0,0,0]
3
+ * 3D position where the camera is anchored and focused on.
4
+ * The coordinates are relative to the model, so that [0, 0, 0] is always the model center.
5
+ * It has nothing to do with the actual babylon world center.
6
6
  */
7
7
  target: [number, number, number];
8
8
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dreamcomposer/engine-types",
3
- "version": "2.0.0-next.1",
3
+ "version": "2.0.1",
4
4
  "description": "The type definitions for messages from and to the engine",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
@@ -9,7 +9,7 @@
9
9
  ],
10
10
  "devDependencies": {
11
11
  "prettier": "^2.5.1",
12
- "typescript": "^4.4.4"
12
+ "typescript": "5.7.3"
13
13
  },
14
14
  "scripts": {
15
15
  "format": "prettier --write .",