[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51566] trunk/blender/source/blender/ blenlib/intern/BLI_kdopbvh.c: use int's for kdopbvh start/ stop axis since there were loops comparing with other ints.
Campbell Barton
ideasman42 at gmail.com
Wed Oct 24 07:08:34 CEST 2012
Revision: 51566
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51566
Author: campbellbarton
Date: 2012-10-24 05:08:33 +0000 (Wed, 24 Oct 2012)
Log Message:
-----------
use int's for kdopbvh start/stop axis since there were loops comparing with other ints.
Modified Paths:
--------------
trunk/blender/source/blender/blenlib/intern/BLI_kdopbvh.c
Modified: trunk/blender/source/blender/blenlib/intern/BLI_kdopbvh.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/BLI_kdopbvh.c 2012-10-24 05:06:40 UTC (rev 51565)
+++ trunk/blender/source/blender/blenlib/intern/BLI_kdopbvh.c 2012-10-24 05:08:33 UTC (rev 51566)
@@ -61,9 +61,9 @@
float epsilon; /* epslion is used for inflation of the k-dop */
int totleaf; /* leafs */
int totbranch;
+ int start_axis, stop_axis; /* KDOP_AXES array indices according to axis */
char tree_type; /* type of tree (4 => quadtree) */
char axis; /* kdop type (6 => OBB, 7 => AABB, ...) */
- char start_axis, stop_axis; /* KDOP_AXES array indices according to axis */
};
typedef struct BVHOverlapData {
More information about the Bf-blender-cvs
mailing list