ソースを参照

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;
             return this._webvrViewMatrix;
         }
         }
 
 
+        protected _updateCameraRotationMatrix() {
+            this._webvrViewMatrix.getRotationMatrixToRef(this._cameraRotationMatrix);
+        }
+
         public _isSynchronizedViewMatrix() {
         public _isSynchronizedViewMatrix() {
             return false;
             return false;
         }
         }