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:
@ -148,7 +148,7 @@ internal class Day17 : Day
|
|||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
guesspt = Step(guesspt, ref testVel);
|
guesspt = Step(guesspt, ref testVel);
|
||||||
if (!bounds.IsHigh(guesspt) && !bounds.IsLow(guesspt))
|
if (bounds.YInRange(guesspt))
|
||||||
{
|
{
|
||||||
if (guess > maxSuccessYVel)
|
if (guess > maxSuccessYVel)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user