diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-07-02 20:29:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-02 20:29:58 +0200 |
commit | 94c294bfdcfb7caa84c88649f3630605ed90e884 (patch) | |
tree | 94fdecef9a4f1204effb95e800f7c2cb39126a67 /src/wieldmesh.h | |
parent | 51104d9cd445da21adc731fb820bbb7d82b45d64 (diff) | |
download | minetest-94c294bfdcfb7caa84c88649f3630605ed90e884.tar.gz minetest-94c294bfdcfb7caa84c88649f3630605ed90e884.tar.bz2 minetest-94c294bfdcfb7caa84c88649f3630605ed90e884.zip |
Irrlicht cleanup: cleanup various object to use RenderingEngine (#6088)
* Irrlicht cleanup: cleanup various object to use RenderingEngine
* CAO doesn't need scenemanager in addToScene
* Camera doesn't need VideoDriver pointer or SceneManager in constructor
* Hud doesn't need driver & scene manager in constructor
* Hud doesn't need scenemanager pointer
* Tile.h doesn't need IrrlichtDevice header (just SMaterial)
* WieldMeshSceneNode: only take scene, we always use scene root node as parent
Diffstat (limited to 'src/wieldmesh.h')
-rw-r--r-- | src/wieldmesh.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wieldmesh.h b/src/wieldmesh.h index 8ef155dfd..44bca8e9f 100644 --- a/src/wieldmesh.h +++ b/src/wieldmesh.h @@ -74,8 +74,7 @@ struct ItemMesh class WieldMeshSceneNode : public scene::ISceneNode { public: - WieldMeshSceneNode(scene::ISceneNode *parent, scene::ISceneManager *mgr, - s32 id = -1, bool lighting = false); + WieldMeshSceneNode(scene::ISceneManager *mgr, s32 id = -1, bool lighting = false); virtual ~WieldMeshSceneNode(); void setCube(const ContentFeatures &f, v3f wield_scale); |