[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13212] trunk/blender/source/blender/ python/api2_2x/doc/Mathutils.py: Python API

Ken Hughes khughes at pacific.edu
Sat Jan 12 01:54:44 CET 2008


Revision: 13212
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13212
Author:   khughes
Date:     2008-01-12 01:54:42 +0100 (Sat, 12 Jan 2008)

Log Message:
-----------
Python API
----------
Correct error in Mathutils.Rand documentation (pointed out on IRC by masterofbytes).

Modified Paths:
--------------
    trunk/blender/source/blender/python/api2_2x/doc/Mathutils.py

Modified: trunk/blender/source/blender/python/api2_2x/doc/Mathutils.py
===================================================================
--- trunk/blender/source/blender/python/api2_2x/doc/Mathutils.py	2008-01-11 22:54:02 UTC (rev 13211)
+++ trunk/blender/source/blender/python/api2_2x/doc/Mathutils.py	2008-01-12 00:54:42 UTC (rev 13212)
@@ -28,15 +28,15 @@
   print angle  
 """
 
-def Rand (high = 1, low = 0):
+def Rand (low=0.0, high = 1.0):
   """
   Return a random number within a range.
-  High and low represent the range from which the random
-  number must return its result.
+  low and high represent are optional parameters which represent the range
+  from which the random number must return its result.
+  @type low: float
+  @param low: The lower range.
   @type high: float
   @param high: The upper range.
-  @type low: float
-  @param low: The lower range.
   """
 
 def Intersect(vec1, vec2, vec3, ray, orig, clip=1):





More information about the Bf-blender-cvs mailing list