From 5da6c02188718beff0a7f64cf10e8e7cdca29e4e Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Thu, 22 Nov 2012 08:01:02 +0000 Subject: [PATCH] BGE Docs: Adding RM_* mode constants from KX_NavMeshObject.draw() --- doc/python_api/rst/bge.logic.rst | 18 ++++++++++++++++++ doc/python_api/rst/bge.types.rst | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/doc/python_api/rst/bge.logic.rst b/doc/python_api/rst/bge.logic.rst index 69c261d1a90..ef52f94b995 100644 --- a/doc/python_api/rst/bge.logic.rst +++ b/doc/python_api/rst/bge.logic.rst @@ -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 ------ diff --git a/doc/python_api/rst/bge.types.rst b/doc/python_api/rst/bge.types.rst index 59a87ede7be..e0d42553e48 100644 --- a/doc/python_api/rst/bge.types.rst +++ b/doc/python_api/rst/bge.types.rst @@ -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 `) :arg mode: integer :return: None