提交 3cc44aa0 编写于 作者: M Mr.doob

WebXRManaver: Removed deprecated code.

上级 e66e8690
......@@ -5,7 +5,6 @@
import { ArrayCamera } from '../../cameras/ArrayCamera.js';
import { EventDispatcher } from '../../core/EventDispatcher.js';
import { Group } from '../../objects/Group.js';
import { Matrix4 } from '../../math/Matrix4.js';
import { PerspectiveCamera } from '../../cameras/PerspectiveCamera.js';
import { Vector3 } from '../../math/Vector3.js';
import { Vector4 } from '../../math/Vector4.js';
......@@ -369,35 +368,6 @@ function WebXRManager( renderer, gl ) {
this.dispose = function () {};
// DEPRECATED
this.getStandingMatrix = function () {
console.warn( 'THREE.WebXRManager: getStandingMatrix() is no longer needed.' );
return new Matrix4();
};
this.getDevice = function () {
console.warn( 'THREE.WebXRManager: getDevice() has been deprecated.' );
};
this.setDevice = function () {
console.warn( 'THREE.WebXRManager: setDevice() has been deprecated.' );
};
this.setFrameOfReferenceType = function () {
console.warn( 'THREE.WebXRManager: setFrameOfReferenceType() has been deprecated.' );
};
this.submitFrame = function () {};
}
Object.assign( WebXRManager.prototype, EventDispatcher.prototype );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册