23 static auto fn = mf::build::SI4_SO<float, float, float, float, math::Quaternion>(
24 "Quaternion to Rotation", [](
float w,
float x,
float y,
float z) {
35 ntype.
ui_name =
"Quaternion to Rotation";
36 ntype.
ui_description =
"Build a rotation from quaternion components";
#define NODE_CLASS_CONVERTER
#define FN_NODE_QUATERNION_TO_ROTATION
#define NOD_REGISTER_NODE(REGISTER_FUNC)
SIMD_FORCE_INLINE const btScalar & z() const
Return the z value.
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
void set_matching_fn(const mf::MultiFunction *fn)
void node_register_type(bNodeType &ntype)
QuaternionBase< float > Quaternion
MatBase< T, NumCol, NumRow > normalize(const MatBase< T, NumCol, NumRow > &a)
static void node_declare(NodeDeclarationBuilder &b)
static void node_register()
static void node_build_multi_function(NodeMultiFunctionBuilder &builder)
void fn_node_type_base(blender::bke::bNodeType *ntype, std::string idname, const std::optional< int16_t > legacy_type)
std::string ui_description
NodeMultiFunctionBuildFunction build_multi_function
const char * enum_name_legacy
NodeDeclareFunction declare