Rectangle News

I am in the process of converting SDL_Rects from x, y, w, h to
minx, maxx, miny, maxy

Okay, I decided, in the interests of stability, not to convert the
rectangle structure.

If you don’t like this, let me know publicly. Start a flame war! grin

Seriously, if there’s enough demand, I’ll still change the API, but you’ll
have to tell me you want it changed, or don’t want it changed.

See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

I am in the process of converting SDL_Rects from x, y, w, h to
minx, maxx, miny, maxy

Okay, I decided, in the interests of stability, not to convert the
rectangle structure.

I agree with you, Sam. I believe the current approach is cleaner and
and simpler, and I suspect that, in many cases, it is faster.

-Michele

If you don’t like this, let me know publicly. Start a flame war! grin

Seriously, if there’s enough demand, I’ll still change the API, but you’ll
have to tell me you want it changed, or don’t want it changed.

I say to get the rectangles changed now before too much legacy code xists
to change it later.

njhOn Fri, 11 Sep 1998, Sam Lantinga wrote:

I am in the process of converting SDL_Rects from x, y, w, h to
minx, maxx, miny, maxy

Okay, I decided, in the interests of stability, not to convert the
rectangle structure.

I agree with you, Sam. I believe the current approach is cleaner and
and simpler, and I suspect that, in many cases, it is faster.

It is not faster with clipping (clipping becomes min, max), and I can’t
see why it is more elegant in general.

njhOn Sat, 12 Sep 1998, Michele Bini wrote: