diff options
Diffstat (limited to 'data/graphics/tree')
-rw-r--r-- | data/graphics/tree | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/graphics/tree b/data/graphics/tree index 5a56620..adc179f 100644 --- a/data/graphics/tree +++ b/data/graphics/tree @@ -32,6 +32,7 @@ max_angle_delta = 0.5 bgcolor = (0, 0, 0) screen.fill(bgcolor) + def draw_tree(x, y, length, angle): x2 = x + length * math.sin(angle) y2 = y - length * math.cos(angle) |