@onerjs/core 8.52.6 → 8.52.7

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 (38) hide show
  1. package/Cameras/arcRotateCamera.pure.d.ts +3 -1
  2. package/Cameras/arcRotateCamera.pure.js +21 -1
  3. package/Cameras/arcRotateCamera.pure.js.map +1 -1
  4. package/DeviceInput/webDeviceInputSystem.js +7 -1
  5. package/DeviceInput/webDeviceInputSystem.js.map +1 -1
  6. package/Engines/Native/nativeInterfaces.d.ts +10 -1
  7. package/Engines/Native/nativeInterfaces.js.map +1 -1
  8. package/Engines/abstractEngine.pure.d.ts +1 -1
  9. package/Engines/abstractEngine.pure.js +2 -2
  10. package/Engines/abstractEngine.pure.js.map +1 -1
  11. package/Engines/engine.common.js +61 -1
  12. package/Engines/engine.common.js.map +1 -1
  13. package/Engines/thinNativeEngine.pure.js +13 -6
  14. package/Engines/thinNativeEngine.pure.js.map +1 -1
  15. package/Materials/GaussianSplatting/gaussianSplattingDebugMaterialPlugin.pure.d.ts +8 -0
  16. package/Materials/GaussianSplatting/gaussianSplattingDebugMaterialPlugin.pure.js +26 -0
  17. package/Materials/GaussianSplatting/gaussianSplattingDebugMaterialPlugin.pure.js.map +1 -1
  18. package/Meshes/GaussianSplatting/gaussianSplattingDebugger.pure.d.ts +2 -0
  19. package/Meshes/GaussianSplatting/gaussianSplattingDebugger.pure.js +17 -0
  20. package/Meshes/GaussianSplatting/gaussianSplattingDebugger.pure.js.map +1 -1
  21. package/Meshes/GaussianSplatting/gaussianSplattingMesh.pure.js +4 -0
  22. package/Meshes/GaussianSplatting/gaussianSplattingMesh.pure.js.map +1 -1
  23. package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.pure.d.ts +6 -0
  24. package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.pure.js +8 -0
  25. package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.pure.js.map +1 -1
  26. package/Misc/tools.pure.js +1 -1
  27. package/Misc/tools.pure.js.map +1 -1
  28. package/SmartAssets/index.d.ts +1 -1
  29. package/SmartAssets/index.js +1 -1
  30. package/SmartAssets/index.js.map +1 -1
  31. package/SmartAssets/pure.d.ts +1 -0
  32. package/SmartAssets/pure.js +1 -0
  33. package/SmartAssets/pure.js.map +1 -1
  34. package/SmartAssets/{smartAssetManager.js → smartAssetManager.pure.js} +30 -17
  35. package/SmartAssets/smartAssetManager.pure.js.map +1 -0
  36. package/package.json +1 -1
  37. package/SmartAssets/smartAssetManager.js.map +0 -1
  38. /package/SmartAssets/{smartAssetManager.d.ts → smartAssetManager.pure.d.ts} +0 -0
@@ -42,10 +42,12 @@ export declare class ArcRotateCamera extends TargetCamera {
42
42
  * Defines the rotation angle of the camera along the longitudinal axis.
43
43
  */
44
44
  alpha: number;
45
+ private _beta;
45
46
  /**
46
47
  * Defines the rotation angle of the camera along the latitudinal axis.
47
48
  */
48
- beta: number;
49
+ get beta(): number;
50
+ set beta(value: number);
49
51
  /**
50
52
  * Defines the radius of the camera from its target point.
51
53
  */
@@ -54,6 +54,26 @@ function CheckNaN(value, fallback) {
54
54
  * @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/camera_introduction#arc-rotate-camera
55
55
  */
56
56
  export class ArcRotateCamera extends TargetCamera {
57
+ /**
58
+ * Defines the rotation angle of the camera along the latitudinal axis.
59
+ */
60
+ get beta() {
61
+ return this._beta;
62
+ }
63
+ set beta(value) {
64
+ if (!value) {
65
+ if (this._beta > value) {
66
+ this._beta = Epsilon;
67
+ }
68
+ else {
69
+ this._beta = -Epsilon;
70
+ }
71
+ }
72
+ else {
73
+ this._beta = value;
74
+ }
75
+ this._checkLimits();
76
+ }
57
77
  /**
58
78
  * Defines the offset of the camera target;
59
79
  */
@@ -1459,7 +1479,7 @@ __decorate([
1459
1479
  ], ArcRotateCamera.prototype, "alpha", void 0);
1460
1480
  __decorate([
1461
1481
  serialize()
1462
- ], ArcRotateCamera.prototype, "beta", void 0);
1482
+ ], ArcRotateCamera.prototype, "beta", null);
1463
1483
  __decorate([
1464
1484
  serialize()
1465
1485
  ], ArcRotateCamera.prototype, "radius", void 0);