|
|
@ -291,7 +291,7 @@ typedef struct { |
|
|
|
if (p2.x < 0 || p2.x >= (GRID_MAX_POINTS_X)) return; |
|
|
|
if (p2.y < 0 || p2.y >= (GRID_MAX_POINTS_Y)) return; |
|
|
|
|
|
|
|
if(circle_flags.marked(p1.x, p1.y) && circle_flags.marked(p2.x, p2.y)) { |
|
|
|
if (circle_flags.marked(p1.x, p1.y) && circle_flags.marked(p2.x, p2.y)) { |
|
|
|
xyz_pos_t s, e; |
|
|
|
s.x = _GET_MESH_X(p1.x) + (INTERSECTION_CIRCLE_RADIUS - (CROSSHAIRS_SIZE)) * dx; |
|
|
|
e.x = _GET_MESH_X(p2.x) - (INTERSECTION_CIRCLE_RADIUS - (CROSSHAIRS_SIZE)) * dx; |
|
|
|