diff options
author | Jarrett Johnson <jarrett.johnson> | 2021-10-09 22:40:37 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-10-09 22:40:37 +0300 |
commit | 79425ed3267663ee482ee3ffcc542d86888103af (patch) | |
tree | 0992d63674d054980e0758ed933780f05c87eaff /source/blender/nodes/NOD_function.h | |
parent | 2561145da8d1e6db6617fa67c5a306d6e07e34e5 (diff) |
Geometry Nodes: Align Euler to Vector Node
This commit introduces the Align Euler to Vector function node which
rotates to a body into a given direction. The node replaces the legacy
"Align Rotation to Vector" node, which only worked on an attribute
named `rotation` internally. The "Euler" in the name is meant to make
it clearer that the rotation isn't interchangeable with a regular
vector.
Addresses T91374.
Differential Revision: https://developer.blender.org/D12726
Diffstat (limited to 'source/blender/nodes/NOD_function.h')
-rw-r--r-- | source/blender/nodes/NOD_function.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/NOD_function.h b/source/blender/nodes/NOD_function.h index 450e999bea4..395a2d68b53 100644 --- a/source/blender/nodes/NOD_function.h +++ b/source/blender/nodes/NOD_function.h @@ -22,6 +22,7 @@ extern "C" { void register_node_type_fn_legacy_random_float(void); +void register_node_type_fn_align_euler_to_vector(void); void register_node_type_fn_boolean_math(void); void register_node_type_fn_float_compare(void); void register_node_type_fn_float_to_int(void); |