Docs: quiet warnings in reference doc syntax

This commit is contained in:
Campbell Barton
2016-01-25 20:25:56 +11:00
parent f233770ef8
commit 4f8b7f4420
2 changed files with 9 additions and 7 deletions

View File

@@ -111,12 +111,14 @@ base class --- :class:`KX_GameObject`
mat4_perspective_to_depth is a fixed matrix defined as follow:
0.5 0.0 0.0 0.5
0.0 0.5 0.0 0.5
0.0 0.0 0.5 0.5
0.0 0.0 0.0 1.0
Note:
There is one matrix of that type per lamp casting shadow in the scene.
0.5 0.0 0.0 0.5
0.0 0.5 0.0 0.5
0.0 0.0 0.5 0.5
0.0 0.0 0.0 1.0
.. note:
There is one matrix of that type per lamp casting shadow in the scene.
:type: Matrix4x4 (read only)

View File

@@ -417,7 +417,7 @@ PyDoc_STRVAR(M_Geometry_intersect_line_line_2d_doc,
"\n"
" Takes 2 segments (defined by 4 vectors) and returns a vector for their point of intersection or None.\n"
"\n"
" .. warning:: Despite its name, this function works on segments, and not on lines..."
" .. warning:: Despite its name, this function works on segments, and not on lines.\n"
"\n"
" :arg lineA_p1: First point of the first line\n"
" :type lineA_p1: :class:`mathutils.Vector`\n"