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:
authorJohnny Matthews <guitargeek>2021-07-01 03:17:28 +0300
committerHans Goudey <h.goudey@me.com>2021-07-01 03:22:13 +0300
commitc1fc18086118012637bdc5a32c5ced1742d69dac (patch)
treeb395ce97d2a55eda946573431812f73831d9cd7a /source/blender/makesdna
parent5a64c687ddccb3012b4fdb5c9cfb5d6459fcf39e (diff)
Geometry Nodes: Curve Primitive Circle
This node has two modes: the first mode computes a circle from three locations and a resolution. The second takes radius and resolution. The first mode also outputs the center of the computed circle as a vector. Differential Revision: https://developer.blender.org/D11650
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_node_types.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h
index 480a8c03c41..a6de85dd6af 100644
--- a/source/blender/makesdna/DNA_node_types.h
+++ b/source/blender/makesdna/DNA_node_types.h
@@ -1362,6 +1362,11 @@ typedef struct NodeGeometryCurvePrimitiveBezierSegment {
uint8_t mode;
} NodeGeometryCurvePrimitiveBezierSegment;
+typedef struct NodeGeometryCurvePrimitiveCircle {
+ /* GeometryNodeCurvePrimitiveMode. */
+ uint8_t mode;
+} NodeGeometryCurvePrimitiveCircle;
+
typedef struct NodeGeometryCurveResample {
/* GeometryNodeCurveSampleMode. */
uint8_t mode;
@@ -1795,6 +1800,11 @@ typedef enum GeometryNodeBooleanOperation {
GEO_NODE_BOOLEAN_DIFFERENCE = 2,
} GeometryNodeBooleanOperation;
+typedef enum GeometryNodeCurvePrimitiveCircleMode {
+ GEO_NODE_CURVE_PRIMITIVE_CIRCLE_TYPE_POINTS = 0,
+ GEO_NODE_CURVE_PRIMITIVE_CIRCLE_TYPE_RADIUS = 1
+} GeometryNodeCurvePrimitiveCircleMode;
+
typedef enum GeometryNodeTriangulateNGons {
GEO_NODE_TRIANGULATE_NGON_BEAUTY = 0,
GEO_NODE_TRIANGULATE_NGON_EARCLIP = 1,