|
From: Martin D. <ak...@cs...> - 2000-04-12 12:57:13
|
i don't know, i'd be arguing for dimensions. While locations are easier to use, dimensions are more commonly used by sdl. On Wed, 12 Apr 2000, Jone Marius Vignes wrote: > Well, as SDL_Rect uses dimension, and KGB_Rect provides us with whatever, > maybe we should go with dimension, allthough I find it easier to work with > locations. > ----- Original Message ----- > From: "Martin Donlon" <ak...@cs...> > To: "Jone Marius Vignes" <vi...@ns...> > Cc: <kgb...@li...> > Sent: Wednesday, April 12, 2000 11:52 AM > Subject: Re: [Kgb-developer] Coordinates > > > > Question remains as to what we do with constructors. Which methid do we > > say is our default method? > > > > On Wed, 12 Apr 2000, Jone Marius Vignes wrote: > > > > > If we go with coordyStuffd(int x, int y, int w, int h), we should make > that > > > coordyStuffD(int x, int y, int w, int h) > > > This is according to the unwritten method-call guidelines which states > that > > > a call should look something like this: > > > createSomethingBig() > > > deleteMe() > > > die() > > > > > > I say we go for the coordyStuffD/coordyStuffL. (This will hopefully > avoid > > > some confusion) > > > > > > ----- Original Message ----- > > > From: "Martin Donlon" <ak...@cs...> > > > To: <kgb...@li...> > > > Sent: Wednesday, April 12, 2000 10:52 AM > > > Subject: [Kgb-developer] Coordinates > > > > > > > > > > Short little question. > > > > > > > > When defining functions that take a rectangular area as parameters > will we > > > > go with: > > > > > > > > coordyStuff(int x, int y, int x2, int y2) > > > > or > > > > coordyStuff(int x, int y, int w, int h) > > > > > > > > OR > > > > > > > > do we go with something like > > > > > > > > coordyStuffd(int x, int y, int w, int h) > > > > coordyStuffl(int x, int y, int x2, int y2) > > > > where l stands for locations and d stands for dimensions > > > > > > > > > > > > Long live the confused, > > > > Akawaka. > > > > -- > > > > Bother! said Pooh and lit another joint. > > > > > > > > > > > > _______________________________________________ > > > > Kgb-developer mailing list > > > > Kgb...@li... > > > > http://lists.sourceforge.net/mailman/listinfo/kgb-developer > > > > > > > > > > > > > _______________________________________________ > > > Kgb-developer mailing list > > > Kgb...@li... > > > http://lists.sourceforge.net/mailman/listinfo/kgb-developer > > > > > > > Long live the confused, > > Akawaka. > > -- > > Bother! said Pooh, as he puked all over Christopher Robin. > > > > > > _______________________________________________ > > Kgb-developer mailing list > > Kgb...@li... > > http://lists.sourceforge.net/mailman/listinfo/kgb-developer > > > _______________________________________________ > Kgb-developer mailing list > Kgb...@li... > http://lists.sourceforge.net/mailman/listinfo/kgb-developer > Long live the confused, Akawaka. -- Bother! said Pooh, as Jem'Hadar slid into the Hundred Acre Wood. |