|
Blender
V2.59
|
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 (ListBase *lb) |
Variables | |
| static bNodeSocketType | inputs [] |
| static bNodeSocketType | outputs [] |
Definition in file TEX_math.c.
| static void exec | ( | void * | data, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 183 of file TEX_math.c.
References tex_output(), and valuefn().
Referenced by register_node_type_tex_math().
| void register_node_type_tex_math | ( | ListBase * | lb | ) |
Definition at line 188 of file TEX_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_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 50 of file TEX_math.c.
References acos(), KDL::asin(), KDL::atan(), cos(), bNode::custom1, KDL::log(), pow(), sin(), KDL::tan(), and tex_input_value().
Referenced by exec().
bNodeSocketType inputs[] [static] |
{
{ SOCK_VALUE, 1, "Value", 0.5f, 0.5f, 0.5f, 1.0f, -100.0f, 100.0f},
{ SOCK_VALUE, 1, "Value", 0.5f, 0.5f, 0.5f, 1.0f, -100.0f, 100.0f},
{ -1, 0, "" }
}
Definition at line 39 of file TEX_math.c.
bNodeSocketType outputs[] [static] |
{
{ SOCK_VALUE, 0, "Value", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 45 of file TEX_math.c.