28 operation_set->
setX(normal[0]);
29 operation_set->
setY(normal[1]);
30 operation_set->
setZ(normal[2]);
31 operation_set->
setW(0.0f);
MINLINE float normalize_v3(float n[3])
Overall context of the compositor.
void add_link(NodeOperationOutput *from, NodeOperationInput *to)
void map_output_socket(NodeOutput *node_socket, NodeOperationOutput *operation_socket)
void add_operation(NodeOperation *operation)
void map_input_socket(NodeInput *node_socket, NodeOperationInput *operation_socket)
NodeOperationOutput * get_output_socket(unsigned int index=0)
NodeOperationInput * get_input_socket(unsigned int index)
NodeOutput are sockets that can send data/input.
void get_editor_value_vector(float *value)
NodeOutput * get_output_socket(unsigned int index=0) const
NodeInput * get_input_socket(unsigned int index) const
Node(bNode *editor_node, bool create_sockets=true)
void convert_to_operations(NodeConverter &converter, const CompositorContext &context) const override
convert node to operation
NormalNode(bNode *editor_node)