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:
authorCampbell Barton <ideasman42@gmail.com>2016-05-23 14:31:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-05-23 14:35:54 +0300
commita17cba339cf6d425b44fb4953974cedaed1a8cef (patch)
tree199ebbcb9d7501dc7c95144e68b3f7c1e71cf55c /source/blender/blenlib/BLI_math_geom.h
parentabe98de63ce4ec9a80aa8fd16bf94675d3947f12 (diff)
BLI_math: Add function to calculate circular cubic curve tangents
Diffstat (limited to 'source/blender/blenlib/BLI_math_geom.h')
-rw-r--r--source/blender/blenlib/BLI_math_geom.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_geom.h b/source/blender/blenlib/BLI_math_geom.h
index 45edaca544d..54b824c91ac 100644
--- a/source/blender/blenlib/BLI_math_geom.h
+++ b/source/blender/blenlib/BLI_math_geom.h
@@ -470,6 +470,10 @@ MINLINE float shell_v2v2_normalized_to_dist(const float a[2], const float b[2]);
MINLINE float shell_v3v3_mid_normalized_to_dist(const float a[3], const float b[3]);
MINLINE float shell_v2v2_mid_normalized_to_dist(const float a[2], const float b[2]);
+/********************************* Cubic (Bezier) *******************************/
+
+float cubic_tangent_factor_circle_v3(const float tan_l[3], const float tan_r[3]);
+
/**************************** Inline Definitions ******************************/
#if BLI_MATH_DO_INLINE