|
Blender V4.3
|
Functions | |
| static void | sh_node_vector_rotate_declare (NodeDeclarationBuilder &b) |
| static void | node_shader_buts_vector_rotate (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static const char * | gpu_shader_get_name (int mode) |
| static int | gpu_shader_vector_rotate (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
| static float3 | sh_node_vector_rotate_around_axis (const float3 &vector, const float3 ¢er, const float3 &axis, const float angle) |
| static float3 | sh_node_vector_rotate_euler (const float3 &vector, const float3 ¢er, const float3 &rotation, const bool invert) |
| static const mf::MultiFunction * | get_multi_function (const bNode &node) |
| static void | sh_node_vector_rotate_build_multi_function (NodeMultiFunctionBuilder &builder) |
| static void | node_shader_update_vector_rotate (bNodeTree *ntree, bNode *node) |
|
static |
Definition at line 114 of file node_shader_vector_rotate.cc.
References BLI_assert_unreachable, invert(), NODE_VECTOR_ROTATE_TYPE_AXIS, NODE_VECTOR_ROTATE_TYPE_AXIS_X, NODE_VECTOR_ROTATE_TYPE_AXIS_Y, NODE_VECTOR_ROTATE_TYPE_AXIS_Z, NODE_VECTOR_ROTATE_TYPE_EULER_XYZ, sh_node_vector_rotate_around_axis(), and sh_node_vector_rotate_euler().
Referenced by sh_node_vector_rotate_build_multi_function().
|
static |
Definition at line 53 of file node_shader_vector_rotate.cc.
References NODE_VECTOR_ROTATE_TYPE_AXIS, NODE_VECTOR_ROTATE_TYPE_AXIS_X, NODE_VECTOR_ROTATE_TYPE_AXIS_Y, NODE_VECTOR_ROTATE_TYPE_AXIS_Z, and NODE_VECTOR_ROTATE_TYPE_EULER_XYZ.
Referenced by gpu_shader_vector_rotate().
|
static |
Definition at line 71 of file node_shader_vector_rotate.cc.
References GPU_constant(), gpu_shader_get_name(), GPU_stack_link(), and invert().
|
static |
Definition at line 47 of file node_shader_vector_rotate.cc.
References ptr, UI_ITEM_R_SPLIT_EMPTY_NAME, and uiItemR().
|
static |
Definition at line 207 of file node_shader_vector_rotate.cc.
References ELEM, blender::bke::node_find_socket(), blender::bke::node_set_socket_availability(), NODE_VECTOR_ROTATE_TYPE_AXIS, NODE_VECTOR_ROTATE_TYPE_EULER_XYZ, and SOCK_IN.
|
static |
Definition at line 87 of file node_shader_vector_rotate.cc.
References axis_angle_to_mat3(), and mul_m3_v3().
Referenced by get_multi_function().
|
static |
Definition at line 201 of file node_shader_vector_rotate.cc.
References get_multi_function(), blender::nodes::NodeMultiFunctionBuilder::node(), and blender::nodes::NodeMultiFunctionBuilder::set_matching_fn().
|
static |
Definition at line 25 of file node_shader_vector_rotate.cc.
References b, blender::nodes::decl::Vector::default_value, blender::nodes::SocketDeclaration::description, blender::nodes::SocketDeclaration::hide_value, blender::nodes::SocketDeclaration::make_available(), min, NODE_VECTOR_ROTATE_TYPE_AXIS, NODE_VECTOR_ROTATE_TYPE_EULER_XYZ, PROP_ANGLE, and PROP_EULER.
|
static |
Definition at line 99 of file node_shader_vector_rotate.cc.
References eul_to_mat3(), invert(), invert_m3(), and mul_m3_v3().
Referenced by get_multi_function().