diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-21 23:54:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-21 23:54:37 +0400 |
commit | 01acc2a7dcb3ba3bd99f75aac77c14619b10c539 (patch) | |
tree | eb86dcd3206414f4d0b4f23ce80209aff57f795d /source/blender/bmesh/tools/bmesh_wireframe.h | |
parent | c80c596194b998bd7cd5ba4ec0eb764e19d323b4 (diff) |
EditMesh: wireframe tool, add offset and vgroup support (not used yet)
Diffstat (limited to 'source/blender/bmesh/tools/bmesh_wireframe.h')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_wireframe.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/source/blender/bmesh/tools/bmesh_wireframe.h b/source/blender/bmesh/tools/bmesh_wireframe.h new file mode 100644 index 00000000000..9f40c2320e1 --- /dev/null +++ b/source/blender/bmesh/tools/bmesh_wireframe.h @@ -0,0 +1,50 @@ +/* + * ***** BEGIN GPL LICENSE BLOCK ***** + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * Contributor(s): Campbell Barton + * + * ***** END GPL LICENSE BLOCK ***** + */ + +/** \file blender/bmesh/tools/bmesh_wireframe.h + * \ingroup bmesh + * + * Wire Frame. + * + */ + +#ifndef __BMESH_WIREFRAME_H__ +#define __BMESH_WIREFRAME_H__ + +void BM_mesh_wireframe( + BMesh *bm, + const float offset, + const float offset_fac, + const float offset_fac_vg, + const bool use_replace, + const bool use_boundary, + const bool use_even_offset, + const bool use_relative_offset, + const bool use_crease, + const float crease_weight, + const int defgrp_index, + const bool defgrp_invert, + const short mat_offset, + const short mat_max, + const bool use_tag); + +#endif /* __BMESH_WIREFRAME_H__ */ |