diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-04-11 18:22:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-04-11 18:22:27 +0400 |
commit | 67cfc427eefdefc003ba53db9ca7cf6f4633c252 (patch) | |
tree | 43c56a3f29f58ed97f7064b0619bb7d53cee8674 /release/scripts/templates/gamelogic.py | |
parent | 4d2bc9f907d312ef86ad340abdee5ea1dadff94b (diff) |
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.
Diffstat (limited to 'release/scripts/templates/gamelogic.py')
-rw-r--r-- | release/scripts/templates/gamelogic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/templates/gamelogic.py b/release/scripts/templates/gamelogic.py index b4eac81b492..b31d5d95987 100644 --- a/release/scripts/templates/gamelogic.py +++ b/release/scripts/templates/gamelogic.py @@ -7,7 +7,7 @@ # import GameKeys # support for Vector(), Matrix() types and advanced functions like ScaleMatrix(...) and RotationMatrix(...) -# import Mathutils +# import mathutils # for functions like getWindowWidth(), getWindowHeight() # import Rasterizer |