Blender V2.61 - r43446
|
#include "node_texture_util.h"
#include "NOD_texture.h"
Go to the source code of this file.
Functions | |
static void | valuefn (float *out, TexParams *p, bNode *node, bNodeStack **in, short thread) |
static void | exec (void *data, bNode *node, bNodeStack **in, bNodeStack **out) |
void | register_node_type_tex_math (bNodeTreeType *ttype) |
Variables | |
static bNodeSocketTemplate | inputs [] |
static bNodeSocketTemplate | outputs [] |
Definition in file node_texture_math.c.
static void exec | ( | void * | data, |
bNode * | node, | ||
bNodeStack ** | in, | ||
bNodeStack ** | out | ||
) | [static] |
Definition at line 182 of file node_texture_math.c.
References tex_output(), and valuefn().
Referenced by register_node_type_tex_math().
void register_node_type_tex_math | ( | bNodeTreeType * | ttype | ) |
Definition at line 187 of file node_texture_math.c.
References exec(), NODE_CLASS_CONVERTOR, node_math_label(), NODE_OPTIONS, node_type_base(), node_type_exec(), node_type_label(), node_type_size(), node_type_socket_templates(), node_type_storage(), nodeRegisterType(), NULL, and TEX_NODE_MATH.
Referenced by registerTextureNodes().
static void valuefn | ( | float * | out, |
TexParams * | p, | ||
bNode * | node, | ||
bNodeStack ** | in, | ||
short | thread | ||
) | [static] |
Definition at line 49 of file node_texture_math.c.
References acos(), KDL::asin(), KDL::atan(), cos(), bNode::custom1, log(), pow(), sin(), KDL::tan(), and tex_input_value().
Referenced by exec().
bNodeSocketTemplate inputs[] [static] |
{ { SOCK_FLOAT, 1, "Value", 0.5f, 0.5f, 0.5f, 1.0f, -100.0f, 100.0f, PROP_NONE}, { SOCK_FLOAT, 1, "Value", 0.5f, 0.5f, 0.5f, 1.0f, -100.0f, 100.0f, PROP_NONE}, { -1, 0, "" } }
Definition at line 38 of file node_texture_math.c.
bNodeSocketTemplate outputs[] [static] |
{ { SOCK_FLOAT, 0, "Value"}, { -1, 0, "" } }
Definition at line 44 of file node_texture_math.c.