Skip to content

Commit 089f8bf

Browse files
authored
Fix typo in DDA algorithm description
Corrected a typo in the comment regarding the DDA algorithm.
1 parent aea8981 commit 089f8bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎graphics/digital_differential_analyzer_line.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def digital_differential_analyzer_line(
2121
Despite this, DDA is useful for educational purposes as it is simple
2222
to understand and demonstrates the basic idea of incremental line generation.
2323
24-
This algorithm works by calculating the dx (change in x) and dy;(change in y) and
24+
This algorithm works by calculating the dx (change in x) and dy (change in y) and
2525
then iteratively steps along the dominant axis, incrementing the other axis by a
2626
fractional amount (the slope).
2727
It is notable for its simplicity but also for its main disadvantage:

0 commit comments

Comments
 (0)