Explorar o código

Now using the right method.

Raanan Weber %!s(int64=8) %!d(string=hai) anos
pai
achega
a8686e5c37
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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;
         }