diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_mesh_boolean_convert.h')
-rw-r--r-- | source/blender/blenkernel/BKE_mesh_boolean_convert.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_mesh_boolean_convert.h b/source/blender/blenkernel/BKE_mesh_boolean_convert.h index c126d714542..7e285d3676e 100644 --- a/source/blender/blenkernel/BKE_mesh_boolean_convert.h +++ b/source/blender/blenkernel/BKE_mesh_boolean_convert.h @@ -29,6 +29,7 @@ extern "C" { Mesh *BKE_mesh_boolean(const Mesh **meshes, const float (*obmats[])[4][4], + const float (*target_transform)[4][4], const short **material_remaps, const int meshes_len, const bool use_self, @@ -38,3 +39,23 @@ Mesh *BKE_mesh_boolean(const Mesh **meshes, #ifdef __cplusplus } #endif + +#ifdef __cplusplus + +# include "BLI_float4x4.hh" +# include "BLI_mesh_boolean.hh" +# include "BLI_span.hh" + +namespace blender::meshintersect { + +Mesh *direct_mesh_boolean(blender::Span<const Mesh *> meshes, + blender::Span<const float4x4 *> obmats, + const float4x4 &target_transform, + blender::Span<const short *> material_remaps, + const bool use_self, + const bool hole_tolerant, + const int boolean_mode); + +} // namespace blender::meshintersect + +#endif |