dermont
08-10-2007 22:46:45
In python-ogre I can show / get the visibility the SceneManager's octree with something like this:
In C++ I can get the bounding box with:
How do I go get the bounding box in python-ogre?.
i = ctypes.c_int(1)
b = sceneManager.setOption("ShowOctree", ogre.CastVoidPtr(ctypes.addressof(i)))
#b = sceneManager.getOption("ShowOctree", ctypes.addressof(i))
In C++ I can get the bounding box with:
AxisAlignedBox bBoundingBox;
if (mSceneManager->getOption("Size", &bBoundingBox)) {
....
How do I go get the bounding box in python-ogre?.