diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-12-12 07:10:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-12-12 07:10:03 +0300 |
commit | dc98a3b0a74b0e91ad424195ce488a9b14f13e73 (patch) | |
tree | 346961b83f6151e72e99a9294714c714e75d85e3 /source/blender/bmesh | |
parent | ebf9d315c418c5ef7e0789cd9c13ae17ff4b84cf (diff) |
Cleanup: style/spelling
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r-- | source/blender/bmesh/operators/bmo_primitive.c | 4 | ||||
-rw-r--r-- | source/blender/bmesh/tools/bmesh_intersect.c | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/bmesh/operators/bmo_primitive.c b/source/blender/bmesh/operators/bmo_primitive.c index 0ce645f80a7..33681c992a0 100644 --- a/source/blender/bmesh/operators/bmo_primitive.c +++ b/source/blender/bmesh/operators/bmo_primitive.c @@ -933,8 +933,8 @@ void bmo_create_cone_exec(BMesh *bm, BMOperator *op) * * \param bm The BMesh to operate on. * \param mat The transform matrix applied to the created cone/cylinder. - * \param radius_top The size of the top end of the cone/cylynder. - * \param radius_bottom The size of the bottom end of the cone/cylynder. + * \param radius_top The size of the top end of the cone/cylinder. + * \param radius_bottom The size of the bottom end of the cone/cylinder. * \param segments The number of subdivisions in the sides of the cone/cylinder. * \param cap_ends Whether the ends of the cone/cylinder are filled or not. * \param oflag The flag to check faces with. diff --git a/source/blender/bmesh/tools/bmesh_intersect.c b/source/blender/bmesh/tools/bmesh_intersect.c index d2ab2e4eb6a..80b1780758d 100644 --- a/source/blender/bmesh/tools/bmesh_intersect.c +++ b/source/blender/bmesh/tools/bmesh_intersect.c @@ -859,10 +859,11 @@ static void raycast_callback(void *userdata, if ( #ifdef USE_KDOPBVH_WATERTIGHT - isect_ray_tri_watertight_v3(ray->origin, &isect_precalc_x, v0, v1, v2, &dist, NULL)) + isect_ray_tri_watertight_v3(ray->origin, &isect_precalc_x, v0, v1, v2, &dist, NULL) #else - isect_ray_tri_epsilon_v3(ray->origin, ray->direction, v0, v1, v2, &dist, NULL, FLT_EPSILON)) + isect_ray_tri_epsilon_v3(ray->origin, ray->direction, v0, v1, v2, &dist, NULL, FLT_EPSILON) #endif + ) { if (dist >= 0.0f) { #ifdef USE_DUMP @@ -1516,7 +1517,7 @@ bool BM_mesh_intersect( #endif /* USE_SEPARATE */ if ((boolean_mode != BMESH_ISECT_BOOLEAN_NONE)) { - BVHTree *tree_pair[2] = {tree_a, tree_b}; + BVHTree *tree_pair[2] = {tree_a, tree_b}; /* group vars */ int *groups_array; |