22 lines
389 B
Python
22 lines
389 B
Python
x1, y1 = 1678, 365
|
|
x2, y2 = 416, 1641
|
|
|
|
mx1, my1 = 210.2, -210.2
|
|
mx2, my2 = -210.2, 210.2
|
|
|
|
|
|
print cover_detection.calculate_factors(x1, y1, x2, y2, mx1, my1, mx2, my2)
|
|
|
|
|
|
|
|
|
|
x1,y1 = cover_detection.config.center_x, cover_detection.config.center_y
|
|
x2, y2 = 1678, 365
|
|
|
|
mx1, my1 = 0.0, 0.0
|
|
mx2, my2 = 210.2, -210.2
|
|
|
|
|
|
print cover_detection.calculate_factors(x1, y1, x2, y2, mx1, my1, mx2, my2)
|
|
|