about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorkarishmarajput <84656423+karishmarajput@users.noreply.github.com>2021-10-31 17:07:03 +0530
committerGitHub <noreply@github.com>2021-10-31 11:37:03 +0000
commitb7f1547d026dd8f3a18660f713634bcb605c183f (patch)
tree71c667d7440fc85fdc2bce8fc94d29d8310f1ccc /src
parent12b568b4d98298bc89feebf556e093ffd28ed595 (diff)
downloaddorado-b7f1547d026dd8f3a18660f713634bcb605c183f.tar.gz
Fix typo and delete unused variable (#6)
Diffstat (limited to 'src')
-rw-r--r--src/algorithms/line-drawing/Bresenham.svelte3
1 files changed, 1 insertions, 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}
   <p class="note">
-    Inavlid Input: Slope must be between 0 to 1.
+    Invalid Input: Slope must be between 0 to 1.
   </p>
 {/if}
 
n135'>135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296