Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/makesdna/DNA_node_types.h')
-rw-r--r--source/blender/makesdna/DNA_node_types.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h
index 70084f52753..fd2c54e7653 100644
--- a/source/blender/makesdna/DNA_node_types.h
+++ b/source/blender/makesdna/DNA_node_types.h
@@ -1141,6 +1141,17 @@ typedef struct NodeGeometryRotatePoints {
char _pad[3];
} NodeGeometryRotatePoints;
+typedef struct NodeGeometryAlignRotationToVector {
+ /* GeometryNodeAlignRotationToVectorAxis */
+ uint8_t axis;
+
+ /* GeometryNodeAttributeInputMode */
+ uint8_t input_type_factor;
+ uint8_t input_type_vector;
+
+ char _pad[5];
+} NodeGeometryAlignRotationToVector;
+
/* script node mode */
#define NODE_SCRIPT_INTERNAL 0
#define NODE_SCRIPT_EXTERNAL 1
@@ -1576,6 +1587,12 @@ typedef enum GeometryNodeRotatePointsSpace {
GEO_NODE_ROTATE_POINTS_SPACE_POINT = 1,
} GeometryNodeRotatePointsSpace;
+typedef enum GeometryNodeAlignRotationToVectorAxis {
+ GEO_NODE_ALIGN_ROTATION_TO_VECTOR_AXIS_X = 0,
+ GEO_NODE_ALIGN_ROTATION_TO_VECTOR_AXIS_Y = 1,
+ GEO_NODE_ALIGN_ROTATION_TO_VECTOR_AXIS_Z = 2,
+} GeometryNodeAlignRotationToVectorAxis;
+
#ifdef __cplusplus
}
#endif