lythreeframe 1.2.30 → 1.2.31
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/bundle.cjs.js
CHANGED
|
@@ -2038,9 +2038,9 @@ class Orbital extends Pawn {
|
|
|
2038
2038
|
const target = this.control.target.clone();
|
|
2039
2039
|
const distance = position.distanceTo(target);
|
|
2040
2040
|
return {
|
|
2041
|
-
position,
|
|
2042
|
-
quaternion,
|
|
2043
|
-
distance
|
|
2041
|
+
position: target,
|
|
2042
|
+
quaternion: quaternion,
|
|
2043
|
+
distance: distance
|
|
2044
2044
|
};
|
|
2045
2045
|
}
|
|
2046
2046
|
stopFocusing() {
|
package/dist/bundle.esm.js
CHANGED
|
@@ -2036,9 +2036,9 @@ class Orbital extends Pawn {
|
|
|
2036
2036
|
const target = this.control.target.clone();
|
|
2037
2037
|
const distance = position.distanceTo(target);
|
|
2038
2038
|
return {
|
|
2039
|
-
position,
|
|
2040
|
-
quaternion,
|
|
2041
|
-
distance
|
|
2039
|
+
position: target,
|
|
2040
|
+
quaternion: quaternion,
|
|
2041
|
+
distance: distance
|
|
2042
2042
|
};
|
|
2043
2043
|
}
|
|
2044
2044
|
stopFocusing() {
|
|
@@ -15,7 +15,7 @@ export declare class Orbital extends Pawn {
|
|
|
15
15
|
focusTo(targetPos: Vector3, targetQuat: Quaternion | Euler, distance: number, time: number, onGoing?: (() => void) | null, onFinished?: (() => void) | null): void;
|
|
16
16
|
getFocuingData(): {
|
|
17
17
|
position: Vector3;
|
|
18
|
-
quaternion: Quaternion
|
|
18
|
+
quaternion: Quaternion;
|
|
19
19
|
distance: number;
|
|
20
20
|
} | null;
|
|
21
21
|
stopFocusing(): void;
|