Pārlūkot izejas kodu

Merge pull request #1855 from BabylonJS/RaananW-patch-1

Update babylon.camera.ts
Raanan Weber 8 gadi atpakaļ
vecāks
revīzija
f15bc2ee18
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. 4 1
      src/Cameras/babylon.camera.ts

+ 4 - 1
src/Cameras/babylon.camera.ts

@@ -646,7 +646,10 @@
             this._cameraRigParams.vrWorkMatrix.multiplyToRef(this._cameraRigParams.vrHMatrix, this._projectionMatrix);
             return this._projectionMatrix;
         }
-
+        
+        protected _updateCameraRotationMatrix() {
+           // only here for webvr
+        }
         /**
          * This function MUST be overwritten by the different WebVR cameras available.
          * The context in which it is running is the RIG camera. So 'this' is the TargetCamera, left or right.