@vived/app 2.19.0 → 2.19.1
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.
|
@@ -245,7 +245,7 @@ class FocusCameraImp {
|
|
|
245
245
|
const yLength = -Math.sin(this.degToRad(this.beta));
|
|
246
246
|
const horizontalLenght = Math.cos(this.degToRad(this.beta));
|
|
247
247
|
const alphaRadians = this.degToRad(this.alpha);
|
|
248
|
-
const xLength =
|
|
248
|
+
const xLength = horizontalLenght * Math.sin(alphaRadians);
|
|
249
249
|
const zLength = horizontalLenght * Math.cos(alphaRadians);
|
|
250
250
|
return new ValueObjects_1.Vector3(xLength, yLength, zLength);
|
|
251
251
|
}
|