Page 1 of 1

Rectangle and RealRect are redundant

Posted: Sat Nov 17, 2012 11:49 am
by Mikachu
It seems that Ogre::Rectangle and Ogre::RealRect do the exact same thing, so why both exist?
Is it for legacy code?
Then a simple typedef on Ogre::Rectangle could be used..

Re: Rectangle and RealRect are redundant

Posted: Sat Nov 17, 2012 4:32 pm
by masterfalcon
It looks like Rectangle was added solely for the OverlayElement class. It can be safely removed. A handful of changes are necessary of course.