|
22 | 22 | from arcade import Point, PointList
|
23 | 23 | from arcade import get_four_byte_color
|
24 | 24 | from arcade import get_projection
|
25 |
| -from arcade import _get_points_for_thick_line |
| 25 | +from arcade import get_points_for_thick_line |
26 | 26 | from arcade import shader
|
27 | 27 |
|
28 | 28 |
|
@@ -95,7 +95,7 @@ def create_line(start_x: float, start_y: float, end_x: float, end_y: float,
|
95 | 95 |
|
96 | 96 | """
|
97 | 97 |
|
98 |
| - points = _get_points_for_thick_line(start_x, start_y, end_x, end_y, line_width) |
| 98 | + points = get_points_for_thick_line(start_x, start_y, end_x, end_y, line_width) |
99 | 99 | color_list = [color, color, color, color]
|
100 | 100 | triangle_point_list = points[1], points[0], points[2], points[3]
|
101 | 101 | shape = create_triangles_filled_with_colors(triangle_point_list, color_list)
|
@@ -210,7 +210,7 @@ def create_line_strip(point_list: PointList,
|
210 | 210 | end_y = point_list[i][1]
|
211 | 211 | color1 = color
|
212 | 212 | color2 = color
|
213 |
| - points = _get_points_for_thick_line(start_x, start_y, end_x, end_y, line_width) |
| 213 | + points = get_points_for_thick_line(start_x, start_y, end_x, end_y, line_width) |
214 | 214 | new_color_list += color1, color2, color1, color2
|
215 | 215 | triangle_point_list += points[1], points[0], points[2], points[3]
|
216 | 216 |
|
@@ -268,7 +268,7 @@ def create_lines_with_colors(point_list: PointList,
|
268 | 268 | end_y = point_list[i][1]
|
269 | 269 | color1 = color_list[i-1]
|
270 | 270 | color2 = color_list[i]
|
271 |
| - points = _get_points_for_thick_line(start_x, start_y, end_x, end_y, line_width) |
| 271 | + points = get_points_for_thick_line(start_x, start_y, end_x, end_y, line_width) |
272 | 272 | new_color_list += color1, color1, color2, color2
|
273 | 273 | triangle_point_list += points[1], points[0], points[2], points[3]
|
274 | 274 |
|
|
0 commit comments