18 auto enable_axis_angle = [](
bNode &
node) {
28 .default_value({0.0, 0.0, 1.0})
59 float input_mat[3][3];
70 "Rotate Euler by AxisAngle/Object",
72 float input_mat[3][3];
84 float input_mat[3][3];
96 float input_mat[3][3];
void node_type_update(struct bNodeType *ntype, void(*updatefunc)(struct bNodeTree *ntree, struct bNode *node))
#define NODE_CLASS_CONVERTER
void nodeSetSocketAvailability(struct bNodeTree *ntree, struct bNodeSocket *sock, bool is_available)
#define FN_NODE_ROTATE_EULER
void nodeRegisterType(struct bNodeType *ntype)
#define BLI_assert_unreachable()
void * BLI_findlink(const struct ListBase *listbase, int number) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void mul_m3_m3m3(float R[3][3], const float A[3][3], const float B[3][3])
void eul_to_mat3(float mat[3][3], const float eul[3])
void mat3_to_eul(float eul[3], const float mat[3][3])
void axis_angle_to_mat3(float R[3][3], const float axis[3], float angle)
@ FN_NODE_ROTATE_EULER_TYPE_EULER
@ FN_NODE_ROTATE_EULER_TYPE_AXIS_ANGLE
@ FN_NODE_ROTATE_EULER_SPACE_OBJECT
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
void uiItemR(uiLayout *layout, struct PointerRNA *ptr, const char *propname, int flag, const char *name, int icon)
SIMD_FORCE_INLINE btScalar angle(const btVector3 &v) const
Return the angle between this and another vector.
void set_matching_fn(const MultiFunction *fn)
void make_available(bNode &node) const
ccl_global KernelShaderEvalInput * input
static void fn_node_rotate_euler_layout(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
static const fn::MultiFunction * get_multi_function(bNode &bnode)
static void fn_node_rotate_euler_declare(NodeDeclarationBuilder &b)
static void fn_node_rotate_euler_update(bNodeTree *ntree, bNode *node)
static void fn_node_rotate_euler_build_multi_function(NodeMultiFunctionBuilder &builder)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
void register_node_type_fn_rotate_euler()
void fn_node_type_base(bNodeType *ntype, int type, const char *name, short nclass)
void(* draw_buttons)(struct uiLayout *, struct bContext *C, struct PointerRNA *ptr)
NodeMultiFunctionBuildFunction build_multi_function
NodeDeclareFunction declare