Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/texture/nodes/node_texture_at.c
| Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | |||||
| { | { | ||||
| tex_output(node, execdata, in, out[0], &colorfn, data); | tex_output(node, execdata, in, out[0], &colorfn, data); | ||||
| } | } | ||||
| void register_node_type_tex_at(void) | void register_node_type_tex_at(void) | ||||
| { | { | ||||
| static bNodeType ntype; | static bNodeType ntype; | ||||
| tex_node_type_base(&ntype, TEX_NODE_AT, "At", NODE_CLASS_DISTORT, 0); | tex_node_type_base(&ntype, TEX_NODE_AT, "At", NODE_CLASS_DISTORT); | ||||
| node_type_socket_templates(&ntype, inputs, outputs); | node_type_socket_templates(&ntype, inputs, outputs); | ||||
| node_type_size(&ntype, 140, 100, 320); | node_type_size(&ntype, 140, 100, 320); | ||||
| node_type_exec(&ntype, NULL, NULL, exec); | node_type_exec(&ntype, NULL, NULL, exec); | ||||
| nodeRegisterType(&ntype); | nodeRegisterType(&ntype); | ||||
| } | } | ||||