Blender Git Commit Log

Git Commits -> Revision 540c2ee

Revision 540c2ee by Campbell Barton (master)
June 26, 2011, 07:21 (GMT)
math func to find the intersection(s) between a segment and a sphere for C/python.

from python:
i1, i2 = mathutils.geometry.intersect_line_sphere(l1, l2, sphere, radius)

Commit Details:

Full Hash: 540c2eee566318a40fef26cd60f182020d2cb7ff
SVN Revision: 37820
Parent Commit: 83000d8
Lines Changed: +142, -0

3 Modified Paths:

/source/blender/blenlib/BLI_math_geom.h (+1, -0) (Diff)
/source/blender/blenlib/intern/math_geom.c (+73, -0) (Diff)
/source/blender/python/generic/mathutils_geometry.c (+68, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021