Add Chromium-only Blender WebEngine parity work
This commit is contained in:
40
blender-5.2.0/intern/quadriflow/quadriflow_capi.hpp
Normal file
40
blender-5.2.0/intern/quadriflow/quadriflow_capi.hpp
Normal file
@@ -0,0 +1,40 @@
|
||||
/* SPDX-FileCopyrightText: 2019 Blender Authors
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#ifndef QUADRIFLOW_CAPI_HPP
|
||||
#define QUADRIFLOW_CAPI_HPP
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct QuadriflowRemeshData {
|
||||
const float *verts;
|
||||
const 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;
|
||||
};
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user