Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while(j<down) {
- xSR = xS;
- ySR = yS;
- while(i<right) {
- xSRr = Math.round(xSR);
- ySRr = Math.round(ySR);
- color=getPixel(xSRr+xClip,ySRr+yClip);
- _context.target.drawPixel(color,_x+i,_y+j);
- xSR+=xcos;
- ySR+=xsin;
- i++;
- }
- xS-=ysin;
- yS+=ycos;
- i=left;
- j++;
- }
Add Comment
Please, Sign In to add comment