Browse Source

WebXRManager: Added getStandingMatrix().

Mr.doob 7 years ago
parent
commit
3b201685f5
1 changed files with 7 additions and 2 deletions
  1. 7 2
      src/renderers/webvr/WebXRManager.js

+ 7 - 2
src/renderers/webvr/WebXRManager.js

@@ -130,12 +130,17 @@ function WebXRManager( gl ) {
 
 
 	};
 	};
 
 
-	this.submitFrame = function () {
+	// DEPRECATED
 
 
-		// if ( device && device.isPresenting ) device.submitFrame();
+	this.getStandingMatrix = function () {
+
+		console.warn( 'THREE.WebXRManager: getStandingMatrix() is no longer needed.' );
+		return new THREE.Matrix4();
 
 
 	};
 	};
 
 
+	this.submitFrame = function () {};
+
 }
 }
 
 
 export { WebXRManager };
 export { WebXRManager };