I think you are changing your mind as to whether the board is 1600 units long or 3200 units long.
Here we go again:
const double A = -2971600.0 / 313.0;
const double B = 21.0 / 5008.0;
const double C = -9200.0 / 313.0;
I think you are changing your mind as to whether the board is 1600 units long or 3200 units long.
Here we go again:
const double A = -2971600.0 / 313.0;
const double B = 21.0 / 5008.0;
const double C = -9200.0 / 313.0;
That too! Originally the world size was 1600 and I forgot to mention it, but it seems I did got the range right when I drew the triangle somehow.
Anyway, it works perfectly now. I couldn't have done this myself obviously. Thanks!
How would the equivalent look in Wolfram Alpha after you adjusted it according to my coordinates?
How would the equivalent look in Wolfram Alpha after you adjusted it according to my coordinates?