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:
@@ -101,7 +101,9 @@ def QuadNormal(vec1, vec2, vec3, vec4):
|
|||||||
|
|
||||||
def LineIntersect(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.
|
@type vec1: Vector object.
|
||||||
@param vec1: A 3d vector, one point on the first line.
|
@param vec1: A 3d vector, one point on the first line.
|
||||||
@type vec2: Vector object.
|
@type vec2: Vector object.
|
||||||
|
|||||||
@@ -598,7 +598,7 @@ class Object:
|
|||||||
def getType():
|
def getType():
|
||||||
"""
|
"""
|
||||||
Returns the type of the object in 'Armature', 'Camera', 'Curve', 'Lamp', 'Lattice',
|
Returns the type of the object in 'Armature', 'Camera', 'Curve', 'Lamp', 'Lattice',
|
||||||
'Mball', 'Mesh', 'Surf', 'Empty', 'Wave' (deprecated) or 'unknown' in exceptional cases.
|
'MBall', 'Mesh', 'Surf', 'Empty', 'Wave' (deprecated) or 'unknown' in exceptional cases.
|
||||||
@return: The type of object.
|
@return: The type of object.
|
||||||
|
|
||||||
I{B{Example:}}
|
I{B{Example:}}
|
||||||
@@ -1311,22 +1311,12 @@ class Object:
|
|||||||
@param goal: the Object's SB New DefaultGoal.
|
@param goal: the Object's SB New DefaultGoal.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def getSBEnable():
|
def isSB():
|
||||||
"""
|
"""
|
||||||
Get if the Object's SB is Enabled.
|
Get if the Object's SB is Enabled.
|
||||||
@rtype: int
|
@rtype: int
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def setSBEnable(switch):
|
|
||||||
"""
|
|
||||||
Enable / Disable SoftBodies.
|
|
||||||
1: on
|
|
||||||
0: off
|
|
||||||
@rtype: PyNone
|
|
||||||
@type switch: int
|
|
||||||
@param switch: the Object's SB New Enable Value.
|
|
||||||
"""
|
|
||||||
|
|
||||||
def getSBPostDef():
|
def getSBPostDef():
|
||||||
"""
|
"""
|
||||||
get SoftBodies PostDef option
|
get SoftBodies PostDef option
|
||||||
|
|||||||
Reference in New Issue
Block a user