lordmauve / wasabi2d

Cutting-edge 2D game framework for Python
https://wasabi2d.readthedocs.io/
GNU Lesser General Public License v3.0
154 stars 24 forks source link

Line shader end segment bug #35

Closed lordmauve closed 4 years ago

lordmauve commented 4 years ago

The shader for stroked lines fails to draw the end section of a line. I tried to draw this

ax = scene.layers[0].add_line(                                                  
    [(5, 100), (5, 5), (100, 5)],                                               
    color="white",                                                              
    stroke_width=2                                                              
)

and saw nothing drawn.

lordmauve commented 4 years ago

Fixed in e69421b5421f57b7248904d1907ba3627194ccaa.