|
Blender V5.0
|
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 117 of file node_shader_vector_rotate.cc.
References angle(), BLI_assert_unreachable, bNode::custom1, bNode::custom2, in, 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 56 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 74 of file node_shader_vector_rotate.cc.
References bNode::custom1, bNode::custom2, GPU_constant(), gpu_shader_get_name(), GPU_stack_link(), in, invert(), name, and out.
|
static |
Definition at line 50 of file node_shader_vector_rotate.cc.
References uiLayout::prop(), ptr, and UI_ITEM_R_SPLIT_EMPTY_NAME.
|
static |
Definition at line 210 of file node_shader_vector_rotate.cc.
References bNode::custom1, 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 90 of file node_shader_vector_rotate.cc.
References angle(), axis_angle_to_mat3(), mul_m3_v3(), and result.
Referenced by get_multi_function().
|
static |
Definition at line 204 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, bNode::custom1, 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 102 of file node_shader_vector_rotate.cc.
References eul_to_mat3(), invert(), invert_m3(), mul_m3_v3(), and result.
Referenced by get_multi_function().