Skip to content

Commit

Permalink
[DOCS] Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton committed Aug 5, 2024
1 parent 231ce35 commit 422f84c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ private boolean intersects(Point start, Point end) {
double centerDeltaX = start.getX() - centerPoint.x;
double centerDeltaY = start.getY() - centerPoint.y;

// Building and solving quadractic equation: ax2 + bx + c = 0
// Building and solving quadratic equation: ax2 + bx + c = 0
double a = deltaX * deltaX + deltaY * deltaY;
double b = 2 * (deltaX * centerDeltaX + deltaY * centerDeltaY);
double c = centerDeltaX * centerDeltaX + centerDeltaY * centerDeltaY - radius * radius;
Expand Down

0 comments on commit 422f84c

Please sign in to comment.