I'll start off by saying I just found this repo recently so still trying to wrap my head around it. So please excuse me if I'm misunderstanding something here. While looking at the NNBrain.java file it looked like lines 44 & 45 may have a small typo.
int chemicalY1 = chemicalSolution.toChemicalGridY(p.getPos().getX() - p.getRadius());
int chemicalY2 = chemicalSolution.toChemicalGridY(p.getPos().getX() + p.getRadius());
Should these instead be p.getPos().getY() instead of .getX()?
I'll start off by saying I just found this repo recently so still trying to wrap my head around it. So please excuse me if I'm misunderstanding something here. While looking at the
NNBrain.java
file it looked like lines 44 & 45 may have a small typo.Should these instead be
p.getPos().getY()
instead of.getX()
?