Skip to content

Commit

Permalink
Final up to L7
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCBKM committed Dec 24, 2018
1 parent 4e6c05b commit 2f17102
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mainFunc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ window.addEventListener('deviceorientation', function(e)
gamma = e.gamma;
});
function getMX(){
// return mouseX;
return map(gamma,-30,30,0,windowWidth);
return mouseX;
//return map(gamma,-30,30,0,windowWidth);
}
function getMY(){
return mouseY;
Expand Down

0 comments on commit 2f17102

Please sign in to comment.