Blender  V2.59
Functions | Variables
TEX_math.c File Reference
#include "../TEX_util.h"
#include "TEX_node.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 (ListBase *lb)

Variables

static bNodeSocketType inputs []
static bNodeSocketType outputs []

Detailed Description

Definition in file TEX_math.c.


Function Documentation

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)
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().


Variable Documentation

bNodeSocketType inputs[] [static]
Initial value:
 { 
        { 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.

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