Blender  V2.59
Functions | Variables
CMP_math.c File Reference
#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 []

Detailed Description

Definition in file CMP_math.c.


Function Documentation

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]
void register_node_type_cmp_math ( ListBase lb)

Variable Documentation

Initial value:
 { 
        { 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.

Initial value:
 { 
        { 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.