Kaynağa Gözat

Merge pull request #11087 from mkeblx/patch-2

Remove resetPose functionality.
Mr.doob 8 yıl önce
ebeveyn
işleme
87cd4caca1
1 değiştirilmiş dosya ile 0 ekleme ve 24 silme
  1. 0 24
      examples/js/controls/VRControls.js

+ 0 - 24
examples/js/controls/VRControls.js

@@ -140,30 +140,6 @@ THREE.VRControls = function ( object, onError ) {
 
 	};
 
-	this.resetPose = function () {
-
-		if ( vrDisplay ) {
-
-			vrDisplay.resetPose();
-
-		}
-
-	};
-
-	this.resetSensor = function () {
-
-		console.warn( 'THREE.VRControls: .resetSensor() is now .resetPose().' );
-		this.resetPose();
-
-	};
-
-	this.zeroSensor = function () {
-
-		console.warn( 'THREE.VRControls: .zeroSensor() is now .resetPose().' );
-		this.resetPose();
-
-	};
-
 	this.dispose = function () {
 
 		vrDisplay = null;