Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Bolsee <benoit.bolsee@online.be>2008-09-25 02:58:49 +0400
committerBenoit Bolsee <benoit.bolsee@online.be>2008-09-25 02:58:49 +0400
commit38a80ff9a5c6d7bebef42bc3b8320d781b4e4f1c (patch)
tree325f16aebffa126c36f2377cb32c5dc8fd3f533b /source/gameengine/PyDoc
parent48bc5b2ac654229832752e7f8593f0dda2ccf80c (diff)
BGE patch: add advanced parameters for SoftBody. Add Rasterizer.drawLine() Python function.
Diffstat (limited to 'source/gameengine/PyDoc')
-rw-r--r--source/gameengine/PyDoc/Rasterizer.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/gameengine/PyDoc/Rasterizer.py b/source/gameengine/PyDoc/Rasterizer.py
index ebb5332d98d..cdda87fcb49 100644
--- a/source/gameengine/PyDoc/Rasterizer.py
+++ b/source/gameengine/PyDoc/Rasterizer.py
@@ -181,4 +181,15 @@ def getGLSLMaterialSetting(setting, enable):
@type setting: string (lights, shaders, shadows, ramps, nodes, extra_textures)
@rtype: boolean
"""
+def drawLine(from,to,color):
+ """
+ Draw a line in the 3D scene.
+
+ @param from: the origin of the line
+ @type from: list [x, y, z]
+ @param to: the end of the line
+ @type to: list [x, y, z]
+ @param color: the color of the line
+ @type color: list [r, g, b]
+ """