Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions examples/js/controls/FlyControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,6 @@ THREE.FlyControls = function ( object, domElement ) {
this.moveVector = new THREE.Vector3( 0, 0, 0 );
this.rotationVector = new THREE.Vector3( 0, 0, 0 );

this.handleEvent = function ( event ) {

if ( typeof this[ event.type ] == 'function' ) {

this[ event.type ]( event );

}

};

this.keydown = function ( event ) {

if ( event.altKey ) {
Expand Down
10 changes: 0 additions & 10 deletions examples/js/controls/OrthographicTrackballControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,6 @@ THREE.OrthographicTrackballControls = function ( object, domElement ) {

};

this.handleEvent = function ( event ) {

if ( typeof this[ event.type ] == 'function' ) {

this[ event.type ]( event );

}

};

var getMouseOnScreen = ( function () {

var vector = new THREE.Vector2();
Expand Down
10 changes: 0 additions & 10 deletions examples/js/controls/TrackballControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,6 @@ THREE.TrackballControls = function ( object, domElement ) {

};

this.handleEvent = function ( event ) {

if ( typeof this[ event.type ] == 'function' ) {

this[ event.type ]( event );

}

};

var getMouseOnScreen = ( function () {

var vector = new THREE.Vector2();
Expand Down