David Catuhe 9 年之前
父節點
當前提交
54f1b88669

文件差異過大導致無法顯示
+ 1476 - 1476
dist/preview release/babylon.d.ts


文件差異過大導致無法顯示
+ 1 - 1
dist/preview release/babylon.js


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

@@ -45721,6 +45721,7 @@ var BABYLON;
             metrics.compensateDistortion = compensateDistortion;
             metrics.compensateDistortion = compensateDistortion;
             this.setCameraRigMode(BABYLON.Camera.RIG_MODE_VR, { vrCameraMetrics: metrics });
             this.setCameraRigMode(BABYLON.Camera.RIG_MODE_VR, { vrCameraMetrics: metrics });
             this._getWebVRDevices = this._getWebVRDevices.bind(this);
             this._getWebVRDevices = this._getWebVRDevices.bind(this);
+            this.rotationQuaternion = new BABYLON.Quaternion();
         }
         }
         WebVRFreeCamera.prototype._getWebVRDevices = function (devices) {
         WebVRFreeCamera.prototype._getWebVRDevices = function (devices) {
             var size = devices.length;
             var size = devices.length;

文件差異過大導致無法顯示
+ 1 - 1
dist/preview release/babylon.noworker.js


+ 1 - 0
src/Cameras/VR/babylon.webVRCamera.js

@@ -18,6 +18,7 @@ var BABYLON;
             metrics.compensateDistortion = compensateDistortion;
             metrics.compensateDistortion = compensateDistortion;
             this.setCameraRigMode(BABYLON.Camera.RIG_MODE_VR, { vrCameraMetrics: metrics });
             this.setCameraRigMode(BABYLON.Camera.RIG_MODE_VR, { vrCameraMetrics: metrics });
             this._getWebVRDevices = this._getWebVRDevices.bind(this);
             this._getWebVRDevices = this._getWebVRDevices.bind(this);
+            this.rotationQuaternion = new BABYLON.Quaternion();
         }
         }
         WebVRFreeCamera.prototype._getWebVRDevices = function (devices) {
         WebVRFreeCamera.prototype._getWebVRDevices = function (devices) {
             var size = devices.length;
             var size = devices.length;

+ 1 - 1
src/Cameras/VR/babylon.webVRCamera.ts

@@ -16,7 +16,7 @@ module BABYLON {
             this.setCameraRigMode(Camera.RIG_MODE_VR, { vrCameraMetrics: metrics });
             this.setCameraRigMode(Camera.RIG_MODE_VR, { vrCameraMetrics: metrics });
 
 
             this._getWebVRDevices = this._getWebVRDevices.bind(this);
             this._getWebVRDevices = this._getWebVRDevices.bind(this);
-            
+
             this.rotationQuaternion = new Quaternion();
             this.rotationQuaternion = new Quaternion();
         }
         }