Преглед на файлове

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