#ifndef WALLENGINE_OBJECT3D_H #define WALLENGINE_OBJECT3D_H #include #include namespace wp { class object3d : wp::video::node { public: enum Type { Type_Material = 0, Type_Model = 1, Type_Particle = 2, Type_None = 3 }; object3d (Type type, wp::scene* scene); virtual void render (); template T* as(); template bool is(); protected: wp::scene* m_scene; private: Type m_type; }; }; #endif //WALLENGINE_OBJECT3D_H