Skip to content

Commit

Permalink
Update birds.js
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickcteng authored Feb 22, 2021
1 parent 6c2525d commit 722985a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions birds.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,12 +307,10 @@ function onWindowResize() {
}

function onPointerMove( event ) {
console.log(event.isPrimary);
if ( event.isPrimary === false ) return;

mouseX = event.clientX - windowHalfX;
mouseY = event.clientY - windowHalfY;

}

//
Expand Down

0 comments on commit 722985a

Please sign in to comment.