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>2007-11-06 21:53:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-11-06 21:53:46 +0300
commit2ad21e22860a3c1ff365310493a25f77dc18a47d (patch)
tree38a4b53a0bd93d9aed80e5788d18aae6ec15fafb /source/blender/blenlib
parent296a8ca146e088ecea63b1b025e099307a7fc459 (diff)
==Python API==
Blender.Geometry.ClosestPointOnLine(pt, vec1, vec2) -> (pt, lambda) This wraps lambda_cp_line_ex Needed for experemental tree generator
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_arithb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_arithb.h b/source/blender/blenlib/BLI_arithb.h
index 2942439504c..d5e7447ff66 100644
--- a/source/blender/blenlib/BLI_arithb.h
+++ b/source/blender/blenlib/BLI_arithb.h
@@ -360,6 +360,8 @@ void spheremap(float x, float y, float z, float *u, float *v);
int LineIntersectsTriangle(float p1[3], float p2[3], float v0[3], float v1[3], float v2[3], float *lambda);
int point_in_tri_prism(float p[3], float v1[3], float v2[3], float v3[3]);
+float lambda_cp_line_ex(float p[3], float l1[3], float l2[3], float cp[3]);
+
typedef struct DualQuat {
float quat[4];
float trans[4];