Commit 78f9dee7 authored by Rogerborg's avatar Rogerborg

http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=32182

Expose the IMeshBuffer of an IVolumeLightSceneNode.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2175 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 17784dd0
......@@ -13,6 +13,8 @@ namespace irr
{
namespace scene
{
class IMeshBuffer;
class IVolumeLightSceneNode : public ISceneNode
{
public:
......@@ -38,6 +40,8 @@ namespace scene
virtual video::SColor getFootColour () const =0;
virtual video::SColor getTailColour () const =0;
virtual IMeshBuffer * getMeshBuffer(void) const =0;
};
} // end namespace scene
......
......@@ -71,6 +71,8 @@ namespace scene
virtual video::SColor getFootColour () const { return FootColour; }
virtual video::SColor getTailColour () const { return TailColour; }
virtual IMeshBuffer * getMeshBuffer(void) const { return Buffer; }
private:
void addToBuffer(const video::S3DVertex& v);
void constructLight();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment