소스 검색

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;
         }