GUI & 2D drawing rectangle
struct rect { ivec2 start, end; };
24%
struct rect { ivec2 pos, size; };
76%
Poll ended at .
@cancel I’m evil so: int x0, y0, x1, y1 or ivec2 a, b
@bd all of the existing stuff i surveyed used x0, y0, x1, y1 to mean start, end
@cancel i know what you mean, though I have trouble conceptualizing a rectangle as something with a beginning and end, so in my mind they are just two sets of coordinates
@bd @cancel for my part I find it most useful to be able to either dynamically resize a rectangle relative to its origin (an ingame dialogue box appearing or disappearing), or to move a static sized rect around the screen by animating the origin only.