mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +00:00
28 lines
567 B
C++
28 lines
567 B
C++
|
#ifndef _GAME_RENDER_MWSCENE_H
|
||
|
#define _GAME_RENDER_MWSCENE_H
|
||
|
|
||
|
#include "ogre/renderer.hpp"
|
||
|
|
||
|
namespace Render
|
||
|
{
|
||
|
/** Class responsible for Morrowind-specific interfaces to OGRE.
|
||
|
*/
|
||
|
class MWScene
|
||
|
{
|
||
|
OgreRenderer *rend;
|
||
|
Ogre::SceneManager *sceneMgr;
|
||
|
Ogre::Camera *camera;
|
||
|
Ogre::Viewport *vp;
|
||
|
|
||
|
// Root node for all objects added to the scene. This is rotated so
|
||
|
// that the OGRE coordinate system matches that used internally in
|
||
|
// Morrowind.
|
||
|
Ogre::SceneNode *mwRoot;
|
||
|
|
||
|
public:
|
||
|
void setup(OgreRenderer *_rend);
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|