-};
-
-
-/*
- A scene node that displays a 2D mesh extruded into the third dimension,
- to add an illusion of depth.
-
- Since this class was created to display the wielded tool of the local
- player, and only tools and items are rendered like this (but not solid
- content like stone and mud, which are shown as cubes), the option to
- draw a textured cube instead is provided.
- */
-class ExtrudedSpriteSceneNode: public scene::ISceneNode
-{
-public:
- ExtrudedSpriteSceneNode(
- scene::ISceneNode* parent,
- scene::ISceneManager* mgr,
- s32 id = -1,
- const v3f& position = v3f(0,0,0),
- const v3f& rotation = v3f(0,0,0),
- const v3f& scale = v3f(1,1,1));
- ~ExtrudedSpriteSceneNode();
-
- void setSprite(video::ITexture* texture);
- void setCube(const TileSpec tiles[6]);