Blender  V3.3
quadriflow_capi.hpp
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2019 Blender Foundation. All rights reserved. */
3 
4 #ifndef QUADRIFLOW_CAPI_HPP
5 #define QUADRIFLOW_CAPI_HPP
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
11 typedef struct QuadriflowRemeshData {
12  float *verts;
13  int *faces;
14  int totfaces;
15  int totverts;
16 
17  float *out_verts;
18  int *out_faces;
21 
28  int rng_seed;
30 
32  void (*update_cb)(void *, float progress, int *cancel),
33  void *update_cb_data);
34 
35 #ifdef __cplusplus
36 }
37 #endif
38 
39 #endif // QUADRIFLOW_CAPI_HPP
void QFLOW_quadriflow_remesh(QuadriflowRemeshData *qrd, void(*update_cb)(void *, float progress, int *cancel), void *update_cb_data)
struct QuadriflowRemeshData QuadriflowRemeshData
static void update_cb(PBVHNode *node, void *rebuild)
Definition: sculpt_undo.c:133