blob: 9323638721c64916fd8618a2d356f2c5b240ee5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef COLORNODE_H_
#define COLORNODE_H_
#include "node.h"
#include "visitor.h"
#include "linalg.h"
class ColorNode : public AbstractNode
{
public:
ColorNode(const ModuleInstantiation *mi) : AbstractNode(mi) { }
virtual Response accept(class State &state, Visitor &visitor) const {
return visitor.visit(state, *this);
}
virtual std::string toString() const;
virtual std::string name() const;
Color4f color;
};
#endif
|