var startPoint = {x:5,y:-26};
var endPoint = {x:13,y:-34};
var map=[];
for (i=startPoint.x;i<=endPoint.x;i++) {
for(j=startPoint.y;j>=endPoint.y;j--) {
map[i,j] = {x:i,y:j};
}
}
4
solved How can i find some position near a position?