This is an evil problem. Ogre::WireBoundingBox::getWorldTransforms is protected, but in the base class Ogre::SimpleRenderable it is public. When we call getWorldTransforms over a WireBoundingBox object it gives a compile error. But calling it over a base class pointer (SimpleRenderable) is possible. In this case the sub class implementaion is called indeed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1568577
Originator: YES
This is an evil problem. Ogre::WireBoundingBox::getWorldTransforms is protected, but in the base class Ogre::SimpleRenderable it is public. When we call getWorldTransforms over a WireBoundingBox object it gives a compile error. But calling it over a base class pointer (SimpleRenderable) is possible. In this case the sub class implementaion is called indeed.