Advertisement
keysle

partial masonry code

Jun 1st, 2012
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //limit = opportunityX.length;
  2. for(i = 0;i<limit;i+=1){
  3.     oX = opportunityX[i];
  4.     oX2 = opportunityX+opportunityW[i];
  5.     if ( (oX<laserX && oX2>laserX+laserW) || (oX>laserX && oX2<laserX+laserW) || (oX<laserX+laserW && oX2>laserX+laserW) ){
  6.         opportunityY[i] = laserY - opportunityY[i];
  7.     }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement