Created
October 14, 2012 05:07
-
-
Save eduardolundgren/3887438 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var rx1=i+Math.floor(scale*r.x1); | |
var rx2=i+Math.floor(scale*(r.x1+r.y1)); | |
var ry1=j+Math.floor(scale*r.x2); | |
var ry2=j+Math.floor(scale*(r.x2+r.y2)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment