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..
Rectangle and RealRect are redundant
- Mikachu
- Gnoll
- Posts: 603
- Joined: Thu Jul 28, 2005 4:11 pm
- Location: Nice, France
- x 35
Rectangle and RealRect are redundant
OgreProcedural - Procedural Geometry for Ogre3D
- masterfalcon
- OGRE Retired Team Member

- Posts: 4270
- Joined: Sun Feb 25, 2007 4:56 am
- Location: Bloomington, MN
- x 126
- Contact:
Re: Rectangle and RealRect are redundant
It looks like Rectangle was added solely for the OverlayElement class. It can be safely removed. A handful of changes are necessary of course.