Sam Lantinga
Sam Lantinga
`SDL_FLT_EPSILON` might be helpful here
Whatever the resolution is for this, we should add test cases to testautomation to make sure we have fixed the issues and can regression test in the future.
I'm on it!
I'm still going. :)
Here's my first attempt, using the same logic as integer rects, where the area inside the rectangle includes the topleft corner and does not include the bottom right corner. I'm...
Another way of looking at this is what is the floating point rectangle that encloses 0,0? Is it { 0, 0, 0, 0 } or { 0, 0, epsilon, epsilon...
So I talked to some smart people, and the trick is that clipping is done mathematically correct, but lines are rendered such that they don't draw the final pixel so...
So... I'm coming back to this, and I'm changing SDL floating point rectangles to be mathematically correct. * A floating point rectangle contains all points >= x and
Out of curiosity, what virtual keyboards send control keys but don't send the control key separately?
Sure, if you want to put together a proposed API and prototype implementation, that would be great.