Bläddra i källkod

Merge pull request #11087 from mkeblx/patch-2

Remove resetPose functionality.
Mr.doob 8 år sedan
förälder
incheckning
87cd4caca1
1 ändrade filer med 0 tillägg och 24 borttagningar
  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 () {
 	this.dispose = function () {
 
 
 		vrDisplay = null;
 		vrDisplay = null;