1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
\r
2 // This file is part of the "Irrlicht Engine".
\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
\r
5 #ifndef __C_SCENE_COLLISION_MANAGER_H_INCLUDED__
\r
6 #define __C_SCENE_COLLISION_MANAGER_H_INCLUDED__
\r
8 #include "ISceneCollisionManager.h"
\r
9 #include "ISceneManager.h"
\r
10 #include "IVideoDriver.h"
\r
17 class CSceneCollisionManager : public ISceneCollisionManager
\r
22 CSceneCollisionManager(ISceneManager* smanager, video::IVideoDriver* driver);
\r
25 virtual ~CSceneCollisionManager();
\r
27 //! Returns a 3d ray which would go through the 2d screen coordinates.
\r
28 virtual core::line3d<f32> getRayFromScreenCoordinates(
\r
29 const core::position2d<s32> & pos, const ICameraSceneNode* camera = 0) override;
\r
33 ISceneManager* SceneManager;
\r
34 video::IVideoDriver* Driver;
\r
38 } // end namespace scene
\r
39 } // end namespace irr
\r