use int's for kdopbvh start/stop axis since there were loops comparing with other ints.

This commit is contained in:
Campbell Barton
2012-10-24 05:08:33 +00:00
parent 81eafc49e6
commit 90f4ed3a0e

View File

@@ -61,9 +61,9 @@ struct BVHTree {
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 {