diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-11-22 05:03:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-22 05:15:04 +0300 |
commit | 2ecb6645209fe74e58da3bf6f2b5a9af330b8609 (patch) | |
tree | 88851f7d3f39e60b765e17c9b21b8e56eb778d26 /source/blender/blenkernel/BKE_mesh_mirror.h | |
parent | e3204db7478343aa82d859e544ab0264376e9282 (diff) |
Cleanup: rename mirror -> mesh_mirror
The term mirror on it's own is too ambiguous, use BKE_mesh prefix.
Diffstat (limited to 'source/blender/blenkernel/BKE_mesh_mirror.h')
-rw-r--r-- | source/blender/blenkernel/BKE_mesh_mirror.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_mesh_mirror.h b/source/blender/blenkernel/BKE_mesh_mirror.h new file mode 100644 index 00000000000..306bb84bde1 --- /dev/null +++ b/source/blender/blenkernel/BKE_mesh_mirror.h @@ -0,0 +1,45 @@ +/* + * 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. + * + * The Original Code is Copyright (C) 2019 Blender Foundation. + * All rights reserved. + */ + +#ifndef __BKE_MIRROR_H__ +#define __BKE_MIRROR_H__ + +/** \file + * \ingroup bke + */ + +#include "BLI_utildefines.h" + +struct MirrorModifierData; +struct ModifierEvalContext; +struct Object; + +struct Mesh *BKE_mesh_mirror_bisect_on_mirror_plane(struct MirrorModifierData *mmd, + const struct Mesh *mesh, + int axis, + const float plane_co[3], + float plane_no[3]); + +struct Mesh *BKE_mesh_mirror_apply_mirror_on_axis(struct MirrorModifierData *mmd, + const struct ModifierEvalContext *UNUSED(ctx), + struct Object *ob, + const struct Mesh *mesh, + int axis); + +#endif /* __BKE_MIRROR_H__ */ |