فهرست منبع

Now using the right method.

Raanan Weber 8 سال پیش
والد
کامیت
a8686e5c37
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      src/Cameras/VR/babylon.webVRCamera.ts

+ 4 - 0
src/Cameras/VR/babylon.webVRCamera.ts

@@ -248,6 +248,10 @@ module BABYLON {
             return this._webvrViewMatrix;
         }
 
+        protected _updateCameraRotationMatrix() {
+            this._webvrViewMatrix.getRotationMatrixToRef(this._cameraRotationMatrix);
+        }
+
         public _isSynchronizedViewMatrix() {
             return false;
         }