@series-inc/rundot-3d-engine 0.6.2 → 0.6.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.
package/dist/index.d.ts CHANGED
@@ -315,7 +315,10 @@ declare abstract class VenusGame {
315
315
  protected canvas: HTMLCanvasElement;
316
316
  protected renderer: THREE.WebGLRenderer;
317
317
  protected scene: THREE.Scene;
318
- protected camera: THREE.PerspectiveCamera | THREE.OrthographicCamera;
318
+ private _instanceCamera;
319
+ /** Setting the camera also updates VenusGame.camera (static) */
320
+ protected get camera(): THREE.PerspectiveCamera | THREE.OrthographicCamera;
321
+ protected set camera(cam: THREE.PerspectiveCamera | THREE.OrthographicCamera);
319
322
  private resizeListener;
320
323
  private isDisposed;
321
324
  private animationId;
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  initializePlatformAsync,
19
19
  isPlatformInitialized,
20
20
  resetPlatform
21
- } from "./chunk-IGT2NHJ3.js";
21
+ } from "./chunk-3YI5JLCR.js";
22
22
  import {
23
23
  __decorateClass
24
24
  } from "./chunk-XUS63JTZ.js";
@@ -58,7 +58,7 @@ import {
58
58
  VenusGame,
59
59
  createCollisionGroup,
60
60
  isTransformComponent
61
- } from "../chunk-IGT2NHJ3.js";
61
+ } from "../chunk-3YI5JLCR.js";
62
62
  import {
63
63
  __decorateClass,
64
64
  __publicField
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@series-inc/rundot-3d-engine",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "scripts": {