提交 7565b664 编写于 作者: M Mr.doob

VRControls: Added resetPose()

上级 8121b976
......@@ -91,7 +91,7 @@ THREE.VRControls = function ( object, onError ) {
};
this.resetSensor = function () {
this.resetPose = function () {
if ( vrInput ) {
......@@ -115,10 +115,17 @@ THREE.VRControls = function ( object, onError ) {
};
this.resetSensor = function () {
console.warn( 'THREE.VRControls: .resetSensor() is now .resetPose().' );
this.resetPose();
};
this.zeroSensor = function () {
console.warn( 'THREE.VRControls: .zeroSensor() is now .resetSensor().' );
this.resetSensor();
console.warn( 'THREE.VRControls: .zeroSensor() is now .resetPose().' );
this.resetPose();
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册