projects
/
tabakrolletjie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2166678
)
Fix rendering artifact by replacing a call to the function which should not be named...
author
Simon Cross
<hodgestar@gmail.com>
Fri, 9 Sep 2016 19:52:04 +0000
(21:52 +0200)
committer
Simon Cross
<hodgestar@gmail.com>
Fri, 9 Sep 2016 19:52:04 +0000
(21:52 +0200)
tabakrolletjie/lights.py
patch
|
blob
|
history
diff --git
a/tabakrolletjie/lights.py
b/tabakrolletjie/lights.py
index f892a358e44cb2d42ce317e070e2ed214423d1b8..108f795097738e0470d436f7716736cf66106cd1 100644
(file)
--- a/
tabakrolletjie/lights.py
+++ b/
tabakrolletjie/lights.py
@@
-175,7
+175,7
@@
class BaseLight(object):
ray_mask.fill(black)
for pygame_poly in self.ray_manager.pygame_polys(surface):
pygame.draw.polygon(ray_mask, white, pygame_poly, 0)
- pygame.draw.
aalines(ray_mask, white, Tru
e, pygame_poly, 1)
+ pygame.draw.
polygon(ray_mask, whit
e, pygame_poly, 1)
dt.lap("ray mask rendered")
radius_mask.fill(black)