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:
authorHans Goudey <h.goudey@me.com>2022-09-02 23:43:53 +0300
committerHans Goudey <h.goudey@me.com>2022-09-02 23:44:05 +0300
commitb903b749442906a15cf5ea1ed9bacb2012ac0b5d (patch)
tree27aa973994f39678243c8264b2723fcceff6872c /source/blender/editors/space_node/node_intern.hh
parent40d815dff6515834c1bce40c0a34cc80b39655d5 (diff)
Cleanup: Deduplicate node link points evaluation functions
Diffstat (limited to 'source/blender/editors/space_node/node_intern.hh')
-rw-r--r--source/blender/editors/space_node/node_intern.hh8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/editors/space_node/node_intern.hh b/source/blender/editors/space_node/node_intern.hh
index 5b376618912..d760a976862 100644
--- a/source/blender/editors/space_node/node_intern.hh
+++ b/source/blender/editors/space_node/node_intern.hh
@@ -229,11 +229,9 @@ void node_draw_link_bezier(const bContext &C,
int th_col2,
int th_col3,
bool selected);
-bool node_link_bezier_points_evaluated(const bNodeLink &link, float coord_array[][2], int resol);
-/**
- * Return quadratic beziers points for a given nodelink.
- */
-std::array<float2, 4> node_link_bezier_points(const bNodeLink &link);
+
+void node_link_bezier_points_evaluated(const bNodeLink &link,
+ std::array<float2, NODE_LINK_RESOL + 1> &coords);
void draw_nodespace_back_pix(const bContext &C,
ARegion &region,