openscad/src/rendernode.h

20 lines
394 B
C
Raw Normal View History

#ifndef RENDERNODE_H_
#define RENDERNODE_H_
#include "node.h"
#include "visitor.h"
class RenderNode : public AbstractNode
{
public:
RenderNode(const ModuleInstantiation *mi) : AbstractNode(mi), convexity(1) { }
virtual Response accept(class State &state, Visitor &visitor) const {
return visitor.visit(state, *this);
}
virtual std::string toString() const;
int convexity;
};
#endif