[Solved] check of coordinates in a tick does not work (opengl) [closed]
There is an floating point precision issue in your code. When 2 floating point values are tested for equality, then an epsilon should be used: e.g. A == B should be done like fabs(A-B) < espi where A and B are floating point numbers and espi is a very small value. Change your code like … Read more