remove commented code

This commit is contained in:
yushijinhun 2020-01-23 00:20:22 +08:00
parent 5fd72eefcf
commit 7cb311c76d
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4
1 changed files with 0 additions and 15 deletions

View File

@ -689,21 +689,6 @@ export class OrbitControls extends EventDispatcher {
this.state = STATE.NONE; this.state = STATE.NONE;
} }
// backward compatibility
// get center(): Vector3 {
// console.warn("THREE.OrbitControls: .center has been renamed to .target");
// return this.target;
// }
// get noZoom(): boolean {
// console.warn("THREE.OrbitControls: .noZoom has been deprecated. Use .enableZoom instead.");
// return !this.enableZoom;
// }
// set noZoom(value: boolean) {
// console.warn("THREE.OrbitControls: .noZoom has been deprecated. Use .enableZoom instead.");
// this.enableZoom = !value;
// }
} }
interface ThreeEvent extends Event { interface ThreeEvent extends Event {