David Catuhe 7 năm trước cách đây
mục cha
commit
a2330f184e

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 14298 - 14299
dist/preview release/babylon.d.ts


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 1
dist/preview release/babylon.js


+ 0 - 1
dist/preview release/babylon.max.js

@@ -81955,7 +81955,6 @@ var BABYLON;
             _this._lensCenterOffset = vrMetrics.lensCenterOffset;
             _this.adaptScaleToCurrentViewport = true;
             _this.onSizeChangedObservable.add(function () {
-                _this.aspectRatio = _this.width * .5 / _this.height;
                 _this._scaleIn = new BABYLON.Vector2(2, 2 / _this.aspectRatio);
                 _this._scaleFactor = new BABYLON.Vector2(.5 * (1 / _this._postProcessScaleFactor), .5 * (1 / _this._postProcessScaleFactor) * _this.aspectRatio);
                 _this._lensCenter = new BABYLON.Vector2(_this._isRightEye ? 0.5 - _this._lensCenterOffset * 0.5 : 0.5 + _this._lensCenterOffset * 0.5, 0.5);

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 1
dist/preview release/babylon.worker.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 4802 - 4803
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.d.ts


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 1
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.js


+ 0 - 1
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.max.js

@@ -81240,7 +81240,6 @@ var BABYLON;
             _this._lensCenterOffset = vrMetrics.lensCenterOffset;
             _this.adaptScaleToCurrentViewport = true;
             _this.onSizeChangedObservable.add(function () {
-                _this.aspectRatio = _this.width * .5 / _this.height;
                 _this._scaleIn = new BABYLON.Vector2(2, 2 / _this.aspectRatio);
                 _this._scaleFactor = new BABYLON.Vector2(.5 * (1 / _this._postProcessScaleFactor), .5 * (1 / _this._postProcessScaleFactor) * _this.aspectRatio);
                 _this._lensCenter = new BABYLON.Vector2(_this._isRightEye ? 0.5 - _this._lensCenterOffset * 0.5 : 0.5 + _this._lensCenterOffset * 0.5, 0.5);

+ 0 - 1
dist/preview release/customConfigurations/minimalGLTFViewer/es6.js

@@ -81213,7 +81213,6 @@ var BABYLON;
             _this._lensCenterOffset = vrMetrics.lensCenterOffset;
             _this.adaptScaleToCurrentViewport = true;
             _this.onSizeChangedObservable.add(function () {
-                _this.aspectRatio = _this.width * .5 / _this.height;
                 _this._scaleIn = new BABYLON.Vector2(2, 2 / _this.aspectRatio);
                 _this._scaleFactor = new BABYLON.Vector2(.5 * (1 / _this._postProcessScaleFactor), .5 * (1 / _this._postProcessScaleFactor) * _this.aspectRatio);
                 _this._lensCenter = new BABYLON.Vector2(_this._isRightEye ? 0.5 - _this._lensCenterOffset * 0.5 : 0.5 + _this._lensCenterOffset * 0.5, 0.5);

+ 0 - 1
dist/preview release/es6.js

@@ -81928,7 +81928,6 @@ var BABYLON;
             _this._lensCenterOffset = vrMetrics.lensCenterOffset;
             _this.adaptScaleToCurrentViewport = true;
             _this.onSizeChangedObservable.add(function () {
-                _this.aspectRatio = _this.width * .5 / _this.height;
                 _this._scaleIn = new BABYLON.Vector2(2, 2 / _this.aspectRatio);
                 _this._scaleFactor = new BABYLON.Vector2(.5 * (1 / _this._postProcessScaleFactor), .5 * (1 / _this._postProcessScaleFactor) * _this.aspectRatio);
                 _this._lensCenter = new BABYLON.Vector2(_this._isRightEye ? 0.5 - _this._lensCenterOffset * 0.5 : 0.5 + _this._lensCenterOffset * 0.5, 0.5);

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 9 - 9
dist/preview release/viewer/babylon.viewer.js


+ 0 - 1
dist/preview release/viewer/babylon.viewer.max.js

@@ -82038,7 +82038,6 @@ var BABYLON;
             _this._lensCenterOffset = vrMetrics.lensCenterOffset;
             _this.adaptScaleToCurrentViewport = true;
             _this.onSizeChangedObservable.add(function () {
-                _this.aspectRatio = _this.width * .5 / _this.height;
                 _this._scaleIn = new BABYLON.Vector2(2, 2 / _this.aspectRatio);
                 _this._scaleFactor = new BABYLON.Vector2(.5 * (1 / _this._postProcessScaleFactor), .5 * (1 / _this._postProcessScaleFactor) * _this.aspectRatio);
                 _this._lensCenter = new BABYLON.Vector2(_this._isRightEye ? 0.5 - _this._lensCenterOffset * 0.5 : 0.5 + _this._lensCenterOffset * 0.5, 0.5);