Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Trickey <howard.trickey@gmail.com>2014-01-08 16:40:01 +0400
committerHoward Trickey <howard.trickey@gmail.com>2014-01-08 16:40:01 +0400
commit49aa701645e97ea7a6f698e4063a5327f6c79815 (patch)
tree3469853a0ec2ca2c58c4c50184d05d66ff978d85 /source/blender/bmesh/tools/bmesh_bevel.h
parent8094ac91944f080c53943c8319eeaa9c3d1b9720 (diff)
Add profile control parameter to Bevel.
Parameter controls concavity / convexity. <.25 means: concave inward .25 means: straight slanted >.25 means: concave outward .5 means: circular (the default) 1 means: straight along original sides For now, there is a hard lower limit of .15 because more work is needed to get decent results in the range below that. The profile is actually a superellipse, and the parameter is 1/4 of the exponent in the implicit equation for a superellipse, except at the extreme values of 0 and 1.
Diffstat (limited to 'source/blender/bmesh/tools/bmesh_bevel.h')
-rw-r--r--source/blender/bmesh/tools/bmesh_bevel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/tools/bmesh_bevel.h b/source/blender/bmesh/tools/bmesh_bevel.h
index 9897b6b070c..0c088ce0238 100644
--- a/source/blender/bmesh/tools/bmesh_bevel.h
+++ b/source/blender/bmesh/tools/bmesh_bevel.h
@@ -30,7 +30,7 @@
struct MDeformVert;
void BM_mesh_bevel(BMesh *bm, const float offset, const int offset_type, const float segments,
- const bool vertex_only, const bool use_weights, const bool limit_offset,
- const struct MDeformVert *dvert, const int vertex_group);
+ const float profile, const bool vertex_only, const bool use_weights,
+ const bool limit_offset, const struct MDeformVert *dvert, const int vertex_group);
#endif /* __BMESH_BEVEL_H__ */