Преглед изворни кода

WebXRManager: Added getStandingMatrix().

Mr.doob пре 7 година
родитељ
комит
3b201685f5
1 измењених фајлова са 7 додато и 2 уклоњено
  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 };