[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35296] trunk/blender/source/blender: replace references to old arithb library

Campbell Barton ideasman42 at gmail.com
Wed Mar 2 06:05:13 CET 2011


Revision: 35296
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35296
Author:   campbellbarton
Date:     2011-03-02 05:05:12 +0000 (Wed, 02 Mar 2011)
Log Message:
-----------
replace references to old arithb library

Modified Paths:
--------------
    trunk/blender/source/blender/blenlib/BLI_blenlib.h
    trunk/blender/source/blender/blenlib/BLI_winstuff.h
    trunk/blender/source/blender/editors/include/ED_view3d.h
    trunk/blender/source/blender/editors/sculpt_paint/paint_image.c
    trunk/blender/source/blender/makesdna/DNA_action_types.h

Modified: trunk/blender/source/blender/blenlib/BLI_blenlib.h
===================================================================
--- trunk/blender/source/blender/blenlib/BLI_blenlib.h	2011-03-02 04:51:43 UTC (rev 35295)
+++ trunk/blender/source/blender/blenlib/BLI_blenlib.h	2011-03-02 05:05:12 UTC (rev 35296)
@@ -50,10 +50,6 @@
  *   platform dependencies. (There are other platform-dependent 
  *   fixes as well.)
  * - The file i/o has some redundant code. It should be cleaned.
- * - arithb.c is a very messy matrix library. We need a better 
- *   solution.
- * - vectorops.c is close to superfluous. It may disappear in the 
- *   near future.
  * 
  * \subsection dependencies Dependencies
  *

Modified: trunk/blender/source/blender/blenlib/BLI_winstuff.h
===================================================================
--- trunk/blender/source/blender/blenlib/BLI_winstuff.h	2011-03-02 04:51:43 UTC (rev 35295)
+++ trunk/blender/source/blender/blenlib/BLI_winstuff.h	2011-03-02 05:05:12 UTC (rev 35296)
@@ -75,7 +75,7 @@
 
 #undef small
 
-// These definitions are also in arithb for simplicity
+// These definitions are also in BLI_math for simplicity
 
 #ifdef __cplusplus
 extern "C" {

Modified: trunk/blender/source/blender/editors/include/ED_view3d.h
===================================================================
--- trunk/blender/source/blender/editors/include/ED_view3d.h	2011-03-02 04:51:43 UTC (rev 35295)
+++ trunk/blender/source/blender/editors/include/ED_view3d.h	2011-03-02 05:05:12 UTC (rev 35296)
@@ -155,7 +155,7 @@
 void view3d_get_view_aligned_coordinate(struct ViewContext *vc, float *fp, short mval[2]);
 void view3d_get_transformation(struct ARegion *ar, struct RegionView3D *rv3d, struct Object *ob, struct bglMats *mats);
 
-/* XXX should move to arithb.c */
+/* XXX should move to BLI_math */
 int edge_inside_circle(short centx, short centy, short rad, short x1, short y1, short x2, short y2);
 int lasso_inside(short mcords[][2], short moves, short sx, short sy);
 int lasso_inside_edge(short mcords[][2], short moves, int x0, int y0, int x1, int y1);

Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_image.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_image.c	2011-03-02 04:51:43 UTC (rev 35295)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_image.c	2011-03-02 05:05:12 UTC (rev 35296)
@@ -785,7 +785,7 @@
 	return 0;
 }
 
-/* basic line intersection, could move to arithb.c, 2 points with a horiz line
+/* basic line intersection, could move to math_geom.c, 2 points with a horiz line
  * 1 for an intersection, 2 if the first point is aligned, 3 if the second point is aligned */
 #define ISECT_TRUE 1
 #define ISECT_TRUE_P1 2
@@ -1144,7 +1144,7 @@
 #endif // PROJ_DEBUG_NOSEAMBLEED
 
 
-/* TODO - move to arithb.c */
+/* TODO - move to math_geom.c */
 
 /* little sister we only need to know lambda */
 #ifndef PROJ_DEBUG_NOSEAMBLEED

Modified: trunk/blender/source/blender/makesdna/DNA_action_types.h
===================================================================
--- trunk/blender/source/blender/makesdna/DNA_action_types.h	2011-03-02 04:51:43 UTC (rev 35295)
+++ trunk/blender/source/blender/makesdna/DNA_action_types.h	2011-03-02 05:05:12 UTC (rev 35296)
@@ -303,8 +303,8 @@
 		/* quaternion rotations (default, and for older Blender versions) */
 	ROT_MODE_QUAT	= 0,
 		/* euler rotations - keep in sync with enum in BLI_math.h */
-	ROT_MODE_EUL = 1,		/* Blender 'default' (classic) - must be as 1 to sync with arithb defines */
-	ROT_MODE_XYZ = 1,		/* Blender 'default' (classic) - must be as 1 to sync with arithb defines */
+	ROT_MODE_EUL = 1,		/* Blender 'default' (classic) - must be as 1 to sync with BLI_math_rotation.h defines */
+	ROT_MODE_XYZ = 1,
 	ROT_MODE_XZY,
 	ROT_MODE_YXZ,
 	ROT_MODE_YZX,




More information about the Bf-blender-cvs mailing list