Snapping To A Grid of TopLefts?
    Dr. Hawkins 
    dochawk at gmail.com
       
    Sun Oct 19 20:51:41 EDT 2014
    
    
  
On Sun, Oct 19, 2014 at 11:26 AM, JOHN PATTEN <johnpatten at me.com> wrote:
> I figured I was making it more difficult than it needed to be :)
>
>
But of course :)
Anyway, you want to sum the *squares* of the X & Y differences, not the
abs(), to get the shortest distance.  (the distance is actually the square
root of this, but if you're only comparing, there is no need for that
calcuation)
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
    
    
More information about the use-livecode
mailing list