Use the convenience method I added

Why did I add it and then not use it? We may never know.
This commit is contained in:
2021-12-17 12:03:14 -06:00
parent 8e0e515164
commit 67a5560dd8

View File

@ -148,7 +148,7 @@ internal class Day17 : Day
while (true)
{
guesspt = Step(guesspt, ref testVel);
if (!bounds.IsHigh(guesspt) && !bounds.IsLow(guesspt))
if (bounds.YInRange(guesspt))
{
if (guess > maxSuccessYVel)
{