|
Blender
V2.59
|
#include "../CMP_util.h"Go to the source code of this file.
Functions | |
| static void | do_math (bNode *node, float *out, float *in, float *in2) |
| static void | node_composit_exec_math (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out) |
| void | register_node_type_cmp_math (ListBase *lb) |
Variables | |
| static bNodeSocketType | cmp_node_math_in [] |
| static bNodeSocketType | cmp_node_math_out [] |
Definition in file CMP_math.c.
| static void do_math | ( | bNode * | node, |
| float * | out, | ||
| float * | in, | ||
| float * | in2 | ||
| ) | [static] |
Definition at line 49 of file CMP_math.c.
References acos(), KDL::asin(), KDL::atan(), cos(), bNode::custom1, floorf, KDL::log(), pow(), sin(), and KDL::tan().
Referenced by node_composit_exec_math().
| static void node_composit_exec_math | ( | void * | UNUSEDdata, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 170 of file CMP_math.c.
References alloc_compbuf(), CB_VAL, composit2_pixel_processor(), bNodeStack::data, do_math(), NULL, CompBuf::x, and CompBuf::y.
Referenced by register_node_type_cmp_math().
| void register_node_type_cmp_math | ( | ListBase * | lb | ) |
Definition at line 200 of file CMP_math.c.
References CMP_NODE_MATH, NODE_CLASS_CONVERTOR, node_composit_exec_math(), node_math_label(), NODE_OPTIONS, node_type_base(), node_type_exec(), node_type_label(), node_type_size(), and nodeRegisterType().
Referenced by registerCompositNodes().
bNodeSocketType cmp_node_math_in[] [static] |
{
{ SOCK_VALUE, 1, "Value", 0.5f, 0.5f, 0.5f, 1.0f, -10000.0f, 10000.0f},
{ SOCK_VALUE, 1, "Value", 0.5f, 0.5f, 0.5f, 1.0f, -10000.0f, 10000.0f},
{ -1, 0, "" }
}
Definition at line 38 of file CMP_math.c.
bNodeSocketType cmp_node_math_out[] [static] |
{
{ SOCK_VALUE, 0, "Value", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 44 of file CMP_math.c.