GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fixes: #413 Implemented Convex Hull using Graham Scan · TheAlgorithms/JavaScript@562eebc

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Geometry
    • ConvexHullGraham.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Geometry/ConvexHullGraham.js‎

Copy file name to clipboardExpand all lines: Geometry/ConvexHullGraham.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function orientation (a, b, c) {
1818

1919
// Clockwise
2020
if (alpha > beta) return 1
21-
// Anticlockwise
21+
// Anticlockwise
2222
else if (beta > alpha) return -1
2323
// Colinear
2424
return 0
@@ -79,4 +79,4 @@ const points = [
7979
{ x: 3, y: 1 },
8080
{ x: 3, y: 3 }]
8181

82-
convexHull(points);
82+
convexHull(points)

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.