Page 1 of 1

Box() should be renamed to Rectangle()

Posted: Wed Oct 03, 2012 11:14 am
by infratec
Since PB has more and more 3D commands, Box() should be renamed to Rectangle().
A box has 3 dimensions not 2 :wink:

Yes, a significant change.
Many codes to be changed.
But it makes sense (at least for me)

Maybe at a major release number change (5 to 6)

Bernd

Re: Box() should be renamed to Rectangle()

Posted: Wed Oct 03, 2012 4:44 pm
by IdeasVacuum
Couldn't the 3D version simply be named Box3d()? That would prevent existing code being broken?

Re: Box() should be renamed to Rectangle()

Posted: Wed Oct 03, 2012 6:09 pm
by DarkDragon
How about declaring Box as deprecated?

Re: Box() should be renamed to Rectangle()

Posted: Fri Oct 05, 2012 1:35 pm
by marc_256
Since PB has more and more 3D commands, Box() should be renamed to Rectangle().
A box has 3 dimensions not 2 :wink:

Yes, a significant change.
Many codes to be changed.
But it makes sense (at least for me)

Maybe at a major release number change (5 to 6)

Bernd
Yes a lot of work to change all my work.
But, you are write, Rectangle() is a good 2D drawing solution for me.
And Box() for 3D drawing.


Marc,