forked from bartvdbraak/blender
c434782e3a
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
40 lines
820 B
C++
40 lines
820 B
C++
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* Copyright 2019 Blender Foundation. All rights reserved. */
|
|
|
|
#ifndef QUADRIFLOW_CAPI_HPP
|
|
#define QUADRIFLOW_CAPI_HPP
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct QuadriflowRemeshData {
|
|
float *verts;
|
|
int *faces;
|
|
int totfaces;
|
|
int totverts;
|
|
|
|
float *out_verts;
|
|
int *out_faces;
|
|
int out_totverts;
|
|
int out_totfaces;
|
|
|
|
int target_faces;
|
|
bool preserve_sharp;
|
|
bool preserve_boundary;
|
|
bool adaptive_scale;
|
|
bool minimum_cost_flow;
|
|
bool aggresive_sat;
|
|
int rng_seed;
|
|
} QuadriflowRemeshData;
|
|
|
|
void QFLOW_quadriflow_remesh(QuadriflowRemeshData *qrd,
|
|
void (*update_cb)(void *, float progress, int *cancel),
|
|
void *update_cb_data);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // QUADRIFLOW_CAPI_HPP
|