|
Blender
V2.59
|
Go to the source code of this file.
Functions | |
| static void | rotate (float new_co[3], float a, float ax[3], float co[3]) |
| static void | colorfn (float *out, TexParams *p, bNode *UNUSED(node), bNodeStack **in, short thread) |
| static void | exec (void *data, bNode *node, bNodeStack **in, bNodeStack **out) |
| void | register_node_type_tex_rotate (ListBase *lb) |
Variables | |
| static bNodeSocketType | inputs [] |
| static bNodeSocketType | outputs [] |
Definition in file TEX_rotate.c.
| static void colorfn | ( | float * | out, |
| TexParams * | p, | ||
| bNode * | UNUSEDnode, | ||
| bNodeStack ** | in, | ||
| short | thread | ||
| ) | [static] |
Definition at line 73 of file TEX_rotate.c.
References TexParams::co, TexParams::dxt, TexParams::dyt, TexParams::osatex, p, rotate(), tex_input_rgba(), tex_input_value(), and tex_input_vec().
Referenced by exec().
| static void exec | ( | void * | data, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 94 of file TEX_rotate.c.
References colorfn(), and tex_output().
Referenced by register_node_type_tex_rotate().
| void register_node_type_tex_rotate | ( | ListBase * | lb | ) |
Definition at line 99 of file TEX_rotate.c.
References exec(), NODE_CLASS_DISTORT, NODE_OPTIONS, node_type_base(), node_type_exec(), node_type_size(), nodeRegisterType(), and TEX_NODE_ROTATE.
Referenced by registerTextureNodes().
| static void rotate | ( | float | new_co[3], |
| float | a, | ||
| float | ax[3], | ||
| float | co[3] | ||
| ) | [static] |
Definition at line 51 of file TEX_rotate.c.
References cos(), cross_v3_v3v3(), dot_v3v3(), M_PI, mul_v3_fl(), mul_v3_v3fl(), and sin().
Referenced by ATTRIBUTE_ALIGNED16(), and colorfn().
bNodeSocketType inputs[] [static] |
{
{ SOCK_RGBA, 1, "Color", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ SOCK_VALUE, 1, "Turns", 0.0f, 0.0f, 0.0f, 0.0f, -1.0f, 1.0f },
{ SOCK_VECTOR, 1, "Axis", 0.0f, 0.0f, 1.0f, 0.0f, -1.0f, 1.0f },
{ -1, 0, "" }
}
Definition at line 39 of file TEX_rotate.c.
bNodeSocketType outputs[] [static] |
{
{ SOCK_RGBA, 0, "Color", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 46 of file TEX_rotate.c.