diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-01 05:58:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-01 07:04:00 +0300 |
commit | b8d0f28f700ff6bbba5a03d69f19f6931981bbc5 (patch) | |
tree | 00cf1bb8ea7804b55f78d48d3daaf519ebe74cc3 /source/blender/bmesh/intern/bmesh_mesh_tessellate.h | |
parent | 3a18e304be5ce6f800b997879a3c5c0fe357b330 (diff) |
Cleanup: split bmesh tessellation into it's own file
Prepare for further refactoring for these functions.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_mesh_tessellate.h')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_mesh_tessellate.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/source/blender/bmesh/intern/bmesh_mesh_tessellate.h b/source/blender/bmesh/intern/bmesh_mesh_tessellate.h new file mode 100644 index 00000000000..5606a5a7e02 --- /dev/null +++ b/source/blender/bmesh/intern/bmesh_mesh_tessellate.h @@ -0,0 +1,24 @@ +/* + * 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. + */ + +#pragma once + +/** \file + * \ingroup bmesh + */ + +void BM_mesh_calc_tessellation(BMesh *bm, BMLoop *(*looptris)[3]); +void BM_mesh_calc_tessellation_beauty(BMesh *bm, BMLoop *(*looptris)[3]); |