[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47504] trunk/blender/source/blender/ python/mathutils/mathutils_geometry.c: Corrected documentation for intersect_point_quad_2d to match exactly how

Sergey Sharybin sergey.vfx at gmail.com
Wed Jun 6 10:09:07 CEST 2012


Revision: 47504
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47504
Author:   nazgul
Date:     2012-06-06 08:08:54 +0000 (Wed, 06 Jun 2012)
Log Message:
-----------
Corrected documentation for intersect_point_quad_2d to match exactly how
it works in C side: only convex quads without singularities gives predictable
results.

Modified Paths:
--------------
    trunk/blender/source/blender/python/mathutils/mathutils_geometry.c

Modified: trunk/blender/source/blender/python/mathutils/mathutils_geometry.c
===================================================================
--- trunk/blender/source/blender/python/mathutils/mathutils_geometry.c	2012-06-06 07:49:57 UTC (rev 47503)
+++ trunk/blender/source/blender/python/mathutils/mathutils_geometry.c	2012-06-06 08:08:54 UTC (rev 47504)
@@ -807,6 +807,7 @@
 "\n"
 "   Takes 5 vectors (using only the x and y coordinates): one is the point and the next 4 define the quad, \n"
 "   only the x and y are used from the vectors. Returns 1 if the point is within the quad, otherwise 0.\n"
+"   Works only with convex quads without singular edges."
 "\n"
 "   :arg pt: Point\n"
 "   :type pt: :class:`mathutils.Vector`\n"




More information about the Bf-blender-cvs mailing list