#ifndef jbt_attributenode_h #define jbt_attributenode_h #include "ngnode.h" #include "attribute.h" class jbt_attributenode : public jbt_ngnode { public: jbt_attributenode( jbt_attribute*, jbt_blobtree* = 0, bool = true ); jbt_attributenode( const jColour&, jbt_blobtree* = 0 ); ~jbt_attributenode(); private: void attribute( jbt_attribute* ); void attributes( jbt_diffuse*, jbt_specular*, jbt_scalar*, jbt_scalar*, jbt_scalar* ); jbt_blobtree::Type type() const { return jbt_blobtree::jbtAttributeNode; } jbt_attribute* A; bool kill; }; #endif