File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
chapters/computational_geometry/gift_wrapping/graham_scan Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ We can find whether a rotation is counter-clockwise with trigonometric functions
21
21
{% sample lang="js" %}
22
22
[ import:36-38, lang:"javascript"] ( code/javascript/graham-scan.js )
23
23
{% sample lang="py" %}
24
- [ import:5 -6, lang:"python"] ( code/python/grahamScan.py )
24
+ [ import:4 -6, lang:"python"] ( code/python/grahamScan.py )
25
25
{% endmethod %}
26
26
27
27
If the output of this function is 0, the points are collinear.
@@ -45,7 +45,7 @@ In the end, the code should look something like this:
45
45
{% sample lang="js" %}
46
46
[ import:1-30, lang:"javascript"] ( code/javascript/graham-scan.js )
47
47
{% sample lang="py" %}
48
- [ import:19-32 , lang:"python"] ( code/python/grahamScan.py )
48
+ [ import:14-27 , lang:"python"] ( code/python/grahamScan.py )
49
49
{% endmethod %}
50
50
51
51
### Bibliography
You can’t perform that action at this time.
0 commit comments