BGE Docs: Adding RM_* mode constants from KX_NavMeshObject.draw()
authorMitchell Stokes <mogurijin@gmail.com>
Thu, 22 Nov 2012 08:01:02 +0000 (08:01 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Thu, 22 Nov 2012 08:01:02 +0000 (08:01 +0000)
doc/python_api/rst/bge.logic.rst
doc/python_api/rst/bge.types.rst

index 69c261d1a90b48ce4eb94bba7485c42cd89dde17..ef52f94b995448dc81694cf5b0a99260348a5ddc 100644 (file)
@@ -791,6 +791,24 @@ See :class:`bge.types.SCA_MouseSensor`
 .. data:: KX_MOUSE_BUT_MIDDLE
 .. data:: KX_MOUSE_BUT_RIGHT
 
+------------
+Navigation Mesh Draw Modes
+------------
+
+.. _navmesh-draw-mode:
+
+.. data:: RM_WALLS
+
+   Draw only the walls.
+
+.. data:: RM_POLYS
+
+   Draw only polygons.
+.. data:: RM_TRIS
+
+   Draw triangle mesh.
+
 ------
 States
 ------
index 59a87ede7be60a67ed2abf8b4a846ea1945ed1a4..e0d42553e48abb67f5986c1753ee7d4be9270ac4 100644 (file)
@@ -2245,7 +2245,7 @@ Types
 
       Draws a debug mesh for the navigation mesh.
 
-      :arg mode: the drawing mode (WALLS=0, POLYS=1, TRIS=2)
+      :arg mode: the drawing mode (one of :ref:`these constants <navmesh-draw-mode>`)
       :arg mode: integer
       :return: None