projects
/
tabakrolletjie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3361825
)
Change limits to avoid pygame.draw.arc's degenerate behaviour.
author
Neil
<neil@dip.sun.ac.za>
Wed, 7 Sep 2016 09:11:37 +0000
(11:11 +0200)
committer
Neil
<neil@dip.sun.ac.za>
Wed, 7 Sep 2016 09:11:37 +0000
(11:11 +0200)
Pygame's draw arc is buggy, and confuses degrees and radians in the case
when start_angle > stop_angle. Pygame adds 360 radians to stop_angle,
instead of 360 degrees. This results in incorrect output, and absolutely
terrible performance.
data/stations/station-alpha.json
patch
|
blob
|
history
diff --git
a/data/stations/station-alpha.json
b/data/stations/station-alpha.json
index b2fad618ffb368056bfa8493c5461fb258d5b6cd..176794d98ddad0d21c9ebf1b8aef8657f9136bf0 100644
(file)
--- a/
data/stations/station-alpha.json
+++ b/
data/stations/station-alpha.json
@@
-32,7
+32,7
@@
"direction": 90.0,
"spread": 45.0,
"radius_limits": [20, 200],
- "angle_limits": [90,
-9
0],
+ "angle_limits": [90,
27
0],
"intensity": 0.8
},
{