@vived/app 4.8.3 → 4.8.4
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.
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.centerOnPixel = exports.makeCenterSceneRootOnPixelPickUC = exports.CenterSceneRootOnPixelPickUC = void 0;
|
|
4
4
|
const AppObject_1 = require("../../../AppObject");
|
|
5
5
|
const AppObjectUC_1 = require("../../../AppObject/AppObjectUC");
|
|
6
|
+
const Utilities_1 = require("../../../Utilities");
|
|
6
7
|
const Babylon_1 = require("../../Babylon");
|
|
7
8
|
const Dispatcher_1 = require("../../Dispatcher");
|
|
8
9
|
const SceneRootEntity_1 = require("../Entities/SceneRootEntity");
|
|
@@ -19,9 +20,7 @@ class CenterSceneRootOnPixelPickImp extends CenterSceneRootOnPixelPickUC {
|
|
|
19
20
|
constructor(appObject) {
|
|
20
21
|
super(appObject, CenterSceneRootOnPixelPickUC.type);
|
|
21
22
|
this.durationMS = 500;
|
|
22
|
-
this.easeFn =
|
|
23
|
-
return val;
|
|
24
|
-
};
|
|
23
|
+
this.easeFn = Utilities_1.expoOut;
|
|
25
24
|
this.centerOnPixel = (pixel) => {
|
|
26
25
|
if (!this.sceneRoot)
|
|
27
26
|
return;
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.makeFocusOnPixelUC = exports.FocusOnPixelUC = void 0;
|
|
4
4
|
const AppObject_1 = require("../../../AppObject");
|
|
5
5
|
const AppObjectUC_1 = require("../../../AppObject/AppObjectUC");
|
|
6
|
+
const Utilities_1 = require("../../../Utilities");
|
|
6
7
|
const Babylon_1 = require("../../Babylon");
|
|
7
8
|
const Dispatcher_1 = require("../../Dispatcher");
|
|
8
9
|
const SceneRootEntity_1 = require("../Entities/SceneRootEntity");
|
|
@@ -19,9 +20,7 @@ class FocusOnPixelImp extends FocusOnPixelUC {
|
|
|
19
20
|
constructor(appObject) {
|
|
20
21
|
super(appObject, FocusOnPixelUC.type);
|
|
21
22
|
this.durationMS = 500;
|
|
22
|
-
this.easeFn =
|
|
23
|
-
return val;
|
|
24
|
-
};
|
|
23
|
+
this.easeFn = Utilities_1.expoOut;
|
|
25
24
|
this.centerOnPixel = (pixel) => {
|
|
26
25
|
if (!this.sceneRoot)
|
|
27
26
|
return;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.restoreStoredView = exports.makeRestoreStoredViewUC = exports.RestoreStoredViewUC = void 0;
|
|
4
4
|
const AppObject_1 = require("../../../AppObject");
|
|
5
|
+
const Utilities_1 = require("../../../Utilities");
|
|
5
6
|
const ValueObjects_1 = require("../../../ValueObjects");
|
|
6
7
|
const SceneRoot_1 = require("../../SceneRoot");
|
|
7
8
|
const Entities_1 = require("../Entities");
|
|
@@ -27,9 +28,7 @@ exports.restoreStoredView = restoreStoredView;
|
|
|
27
28
|
class RestoreStoredViewUCImp extends RestoreStoredViewUC {
|
|
28
29
|
constructor(appObject) {
|
|
29
30
|
super(appObject, RestoreStoredViewUC.type);
|
|
30
|
-
this.ease =
|
|
31
|
-
return val;
|
|
32
|
-
}; // Default to lineal
|
|
31
|
+
this.ease = Utilities_1.expoOut;
|
|
33
32
|
this.restoreStoredView = () => {
|
|
34
33
|
if (this.storedView && this.sceneRoot) {
|
|
35
34
|
if (!this.storedView.hasStoredView)
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.makeStickTransformUC = exports.StickTransformUC = void 0;
|
|
4
4
|
const AppObjectUC_1 = require("../../../AppObject/AppObjectUC");
|
|
5
|
+
const Utilities_1 = require("../../../Utilities");
|
|
5
6
|
const ValueObjects_1 = require("../../../ValueObjects");
|
|
6
7
|
const Transform3D_1 = require("../Entities/Transform3D");
|
|
7
8
|
/* TODO
|
|
@@ -24,7 +25,7 @@ class StickTransformUCImp extends StickTransformUC {
|
|
|
24
25
|
constructor(appObject) {
|
|
25
26
|
super(appObject, StickTransformUC.type);
|
|
26
27
|
this.stickDurationMS = 500;
|
|
27
|
-
this.easeFn =
|
|
28
|
+
this.easeFn = Utilities_1.expoOut;
|
|
28
29
|
this.dispose = () => {
|
|
29
30
|
var _a;
|
|
30
31
|
super.dispose();
|