From 67cfc427eefdefc003ba53db9ca7cf6f4633c252 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 11 Apr 2010 14:22:27 +0000 Subject: PyAPI - added new mathutils.Color() type, use with rna so we can do for eg: material.diffuse_color.r = 1.0 # also has hsv access material.diffuse_color.s = 0.6 - made Mathutils and Geometry module names lowercase. --- source/gameengine/PyDoc/API_intro.py | 2 +- source/gameengine/PyDoc/GameTypes.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source/gameengine/PyDoc') diff --git a/source/gameengine/PyDoc/API_intro.py b/source/gameengine/PyDoc/API_intro.py index abc8c83855b..097abbfbf1a 100644 --- a/source/gameengine/PyDoc/API_intro.py +++ b/source/gameengine/PyDoc/API_intro.py @@ -26,7 +26,7 @@ The Blender Game Engine Python API Reference These modules have no GameEngine specific functionality but are useful in many cases. - - L{Mathutils} + - L{mathutils} - L{Geometry} - L{BGL} diff --git a/source/gameengine/PyDoc/GameTypes.py b/source/gameengine/PyDoc/GameTypes.py index 7045e6cb88e..839f228c3d5 100644 --- a/source/gameengine/PyDoc/GameTypes.py +++ b/source/gameengine/PyDoc/GameTypes.py @@ -1670,7 +1670,7 @@ class KX_GameObject(SCA_IObject): @deprecated: use L{localOrientation} @type orn: 3x3 rotation matrix, or Quaternion. @param orn: a rotation matrix specifying the new rotation. - @note: When using this matrix with Blender.Mathutils.Matrix() types, it will need to be transposed. + @note: When using this matrix with Blender.mathutils.Matrix() types, it will need to be transposed. """ def alignAxisToVect(vect, axis, factor): """ @@ -1704,7 +1704,7 @@ class KX_GameObject(SCA_IObject): @deprecated: use L{worldOrientation} @rtype: 3x3 rotation matrix @return: The game object's rotation matrix - @note: When using this matrix with Blender.Mathutils.Matrix() types, it will need to be transposed. + @note: When using this matrix with Blender.mathutils.Matrix() types, it will need to be transposed. """ def applyMovement(movement, local = 0): """ -- cgit v1.2.3