diff options
Diffstat (limited to 'source/gameengine/Ketsji/KX_PyMath.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_PyMath.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_PyMath.h b/source/gameengine/Ketsji/KX_PyMath.h index 159506946e8..63a37806fb6 100644 --- a/source/gameengine/Ketsji/KX_PyMath.h +++ b/source/gameengine/Ketsji/KX_PyMath.h @@ -273,4 +273,9 @@ PyObject *PyObjectFrom(const MT_Tuple4 &pos); #endif +/** + * Converts an MT_Vector3 to a python color object. + */ +PyObject *PyColorFromVector(const MT_Vector3 &vec); + #endif /* WITH_PYTHON */ |