From b7f1547d026dd8f3a18660f713634bcb605c183f Mon Sep 17 00:00:00 2001 From: karishmarajput <84656423+karishmarajput@users.noreply.github.com> Date: Sun, 31 Oct 2021 17:07:03 +0530 Subject: Fix typo and delete unused variable (#6) --- src/algorithms/line-drawing/Bresenham.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/algorithms/line-drawing/Bresenham.svelte b/src/algorithms/line-drawing/Bresenham.svelte index eb2afd6..c43f87f 100644 --- a/src/algorithms/line-drawing/Bresenham.svelte +++ b/src/algorithms/line-drawing/Bresenham.svelte @@ -7,7 +7,6 @@ let x0 = 0, y0 = 0, x1 = 4, y1 = 4; let dx, dy, step; - let x_inc, y_inc; let x_axis = [], y_axis = [], p_vals = []; function solve() { @@ -83,7 +82,7 @@ {#if invalidInput === true}

- Inavlid Input: Slope must be between 0 to 1. + Invalid Input: Slope must be between 0 to 1.

{/if} -- cgit 1.4.1-2-gfad0