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/blenkernel/BKE_spline.hh')
-rw-r--r--source/blender/blenkernel/BKE_spline.hh9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/blenkernel/BKE_spline.hh b/source/blender/blenkernel/BKE_spline.hh
index ac970b23f14..5e88dd02bdd 100644
--- a/source/blender/blenkernel/BKE_spline.hh
+++ b/source/blender/blenkernel/BKE_spline.hh
@@ -337,13 +337,14 @@ class BezierSpline final : public Spline {
virtual blender::fn::GVArrayPtr interpolate_to_evaluated_points(
const blender::fn::GVArray &source_data) const override;
+ void evaluate_segment(const int index,
+ const int next_index,
+ blender::MutableSpan<blender::float3> positions) const;
+ bool segment_is_vector(const int start_index) const;
+
private:
void ensure_auto_handles() const;
void correct_end_tangents() const final;
- bool segment_is_vector(const int start_index) const;
- void evaluate_bezier_segment(const int index,
- const int next_index,
- blender::MutableSpan<blender::float3> positions) const;
};
/**