synched with trunk at revision 30243
[blender.git] / source / gameengine / Ketsji / KX_PythonInit.cpp
index 7327b9c..f82609d 100644 (file)
@@ -159,6 +159,13 @@ void       KX_RasterizerDrawDebugLine(const MT_Vector3& from,const MT_Vector3& to,cons
                gp_Rasterizer->DrawDebugLine(from,to,color);
 }
 
+void   KX_RasterizerDrawDebugCircle(const MT_Vector3& center, const MT_Scalar radius, const MT_Vector3& color,
+                                                                  const MT_Vector3& normal, int nsector)
+{
+       if (gp_Rasterizer)
+               gp_Rasterizer->DrawDebugCircle(center, radius, color, normal, nsector);
+}
+
 #ifndef DISABLE_PYTHON
 
 static PyObject *gp_OrigPythonSysPath= NULL;