[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54420] trunk/blender/source/blender/ blenlib/BLI_math_geom.h: correct arg order in header for isect_point_tri_v2 (), Made for confusing calltips.

Campbell Barton ideasman42 at gmail.com
Sun Feb 10 09:21:40 CET 2013


Revision: 54420
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54420
Author:   campbellbarton
Date:     2013-02-10 08:21:39 +0000 (Sun, 10 Feb 2013)
Log Message:
-----------
correct arg order in header for isect_point_tri_v2(), Made for confusing calltips.

Modified Paths:
--------------
    trunk/blender/source/blender/blenlib/BLI_math_geom.h

Modified: trunk/blender/source/blender/blenlib/BLI_math_geom.h
===================================================================
--- trunk/blender/source/blender/blenlib/BLI_math_geom.h	2013-02-10 07:11:32 UTC (rev 54419)
+++ trunk/blender/source/blender/blenlib/BLI_math_geom.h	2013-02-10 08:21:39 UTC (rev 54420)
@@ -131,7 +131,7 @@
 /* point in polygon */
 int isect_point_quad_v2(const float p[2], const float a[2], const float b[2], const float c[2], const float d[2]);
 
-int isect_point_tri_v2(const float v1[2], const float v2[2], const float v3[2], const float pt[2]);
+int isect_point_tri_v2(const float pt[2], const float v1[2], const float v2[2], const float v3[2]);
 int isect_point_tri_v2_cw(const float pt[2], const float v1[2], const float v2[2], const float v3[2]);
 int isect_point_tri_v2_int(const int x1, const int y1, const int x2, const int y2, const int a, const int b);
 int isect_point_tri_prism_v3(const float p[3], const float v1[3], const float v2[3], const float v3[3]);




More information about the Bf-blender-cvs mailing list