#define NODE_CLASS_CONVERTER
#define TEX_NODE_DISTANCE
void node_register_type(bNodeType &ntype)
void node_type_socket_templates(bNodeType *ntype, bNodeSocketTemplate *inputs, bNodeSocketTemplate *outputs)
void tex_input_vec(float *out, bNodeStack *in, TexParams *params, short thread)
void register_node_type_tex_distance()
static void exec(void *data, int, bNode *node, bNodeExecData *execdata, bNodeStack **in, bNodeStack **out)
BMesh const char void * data
void tex_output(bNode *node, bNodeExecData *, bNodeStack **in, bNodeStack *out, TexFn texfn, TexCallData *cdata)
static bke::bNodeSocketTemplate inputs[]
void tex_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
static void valuefn(float *out, TexParams *p, bNode *, bNodeStack **in, short thread)
static bke::bNodeSocketTemplate outputs[]
MINLINE float len_v3v3(const float a[3], const float b[3]) ATTR_WARN_UNUSED_RESULT
Compact definition of a node socket.
const char * enum_name_legacy