Added a note in mathutils about how line intersect works

getSBEnable was removed and replaced by isSB, docs needed to be updated.
This commit is contained in:
2006-07-05 03:51:32 +00:00
parent de0af9d951
commit cb8fa00a09
2 changed files with 5 additions and 13 deletions

View File

@@ -101,7 +101,9 @@ def QuadNormal(vec1, vec2, vec3, vec4):
def LineIntersect(vec1, vec2, vec3, vec4):
"""
Return a tuple with the points on each line respectively closest to the other (when both lines intersect, both vector hold the same value).
Return a tuple with the points on each line respectively closest to the other
(when both lines intersect, both vector hold the same value).
The lines are evaluated as infinite lines in space, the values returned may not be between the 2 points given for each line.
@type vec1: Vector object.
@param vec1: A 3d vector, one point on the first line.
@type vec2: Vector object.