There is a class for a light, a billboard, a particle and an Animated Mesh.
I also have an item class that creates an object with all of these classes in it.
Code: Select all
class cItem
{
public:
scene::ISceneNode* node;
cLight light ( params );
cParticle particle ( params );
cMesh mesh ( params );
cBillboard bb ( params );
cItem();
~cItem();
};
Anyone got any ideas as to why?