@xviewer.js/core 1.0.0-alpha.38 → 1.0.0-alpha.39
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/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Quaternion, Vector2, Vector3 } from "three";
|
|
2
2
|
import { VirtualCamera } from "./VirtualCamera";
|
|
3
|
+
import { EasingFunction } from "../tween";
|
|
3
4
|
export declare class FreelookVirtualCamera extends VirtualCamera {
|
|
4
5
|
static __loc0: Vector2;
|
|
5
6
|
static __loc1: Vector2;
|
|
@@ -63,7 +64,9 @@ export declare class FreelookVirtualCamera extends VirtualCamera {
|
|
|
63
64
|
private _calculatePanDelta;
|
|
64
65
|
private _calculateTargetLookAt;
|
|
65
66
|
private _calculateTargetSpringArm;
|
|
66
|
-
gotoPOI({ springLength, theta, phi, lookAt, fov, smoothing }: {
|
|
67
|
+
gotoPOI({ duration, easing, springLength, theta, phi, lookAt, fov, smoothing, }: {
|
|
68
|
+
duration?: number;
|
|
69
|
+
easing?: EasingFunction;
|
|
67
70
|
springLength?: number;
|
|
68
71
|
theta?: number;
|
|
69
72
|
phi?: number;
|