Readd CSceneCollisionManager with only the method we need

This commit is contained in:
sfan5
2021-08-24 23:51:48 +02:00
parent f9078a6a12
commit da33f80bb8
8 changed files with 183 additions and 1 deletions

View File

@ -106,6 +106,7 @@ namespace scene
class IMesh;
class IMeshBuffer;
class IMeshCache;
class ISceneCollisionManager;
class IMeshLoader;
class IMeshManipulator;
class IMeshSceneNode;
@ -578,6 +579,11 @@ namespace scene
\return A pointer to the specified loader, 0 if the index is incorrect. */
virtual ISceneLoader* getSceneLoader(u32 index) const = 0;
//! Get pointer to the scene collision manager.
/** \return Pointer to the collision manager
This pointer should not be dropped. See IReferenceCounted::drop() for more information. */
virtual ISceneCollisionManager* getSceneCollisionManager() = 0;
//! Get pointer to the mesh manipulator.
/** \return Pointer to the mesh manipulator
This pointer should not be dropped. See IReferenceCounted::drop() for more information. */