equal
deleted
inserted
replaced
4 |
4 |
5 local sqrttwo = math.sqrt(2) |
5 local sqrttwo = math.sqrt(2) |
6 |
6 |
7 -- creates round test area |
7 -- creates round test area |
8 function AddTestArea(testarea) |
8 function AddTestArea(testarea) |
9 step = 100 |
9 step = 90 |
10 xstep = step * testarea["xdir"] |
10 xstep = step * testarea["xdir"] |
11 ystep = step * testarea["ydir"] |
11 ystep = step * testarea["ydir"] |
12 x = testarea["x"] |
12 x = testarea["x"] |
13 y = testarea["y"] |
13 y = testarea["y"] |
14 if xstep * ystep ~= 0 then |
14 if xstep * ystep ~= 0 then |