Python API

----------
Correct error in Mathutils.Rand documentation (pointed out on IRC by masterofbytes).
This commit is contained in:
Ken Hughes
2008-01-12 00:54:42 +00:00
parent 6b0cadd780
commit e8a200eb04

View File

@@ -28,15 +28,15 @@ Example::
print angle print angle
""" """
def Rand (high = 1, low = 0): def Rand (low=0.0, high = 1.0):
""" """
Return a random number within a range. Return a random number within a range.
High and low represent the range from which the random low and high represent are optional parameters which represent the range
number must return its result. from which the random number must return its result.
@type high: float
@param high: The upper range.
@type low: float @type low: float
@param low: The lower range. @param low: The lower range.
@type high: float
@param high: The upper range.
""" """
def Intersect(vec1, vec2, vec3, ray, orig, clip=1): def Intersect(vec1, vec2, vec3, ray, orig, clip=1):