Is point within a rectangle
|
I came up with this neat function to check if a point [x,y] is within a rectangle [x, y, width, height]. It´s made in Javascript but can be applied to ALL languages. // Comment |
|
I came up with this neat function to check if a point [x,y] is within a rectangle [x, y, width, height]. It´s made in Javascript but can be applied to ALL languages. // Comment |