Skip to content

Commit

Permalink
Update testing.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyBinoculars committed Oct 27, 2023
1 parent 73587c7 commit 5d09d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/testing.js
Expand Up @@ -78,7 +78,7 @@ while (castAngle<=fov) {
}
}
}
let line = {"m":((objects[lowestPoint][1]-objects[secondLowestPoint][1])/(objects[lowestPoint][0]-objects[secondLowestPoint][0])), "c":(-((secondLowestPoint-lowestPoint)*objects[lowestPoint][0]-objects[lowestPoint][1])}
let line = {"m":(objects[lowestPoint][1]-objects[secondLowestPoint][1])/(objects[lowestPoint][0]-objects[secondLowestPoint][0]), "c":-((secondLowestPoint-lowestPoint)*objects[lowestPoint][0]-objects[lowestPoint][1]}
}
// Reset y
y=0;
Expand Down

0 comments on commit 5d09d83

Please sign in to comment.