@@ -5,7 +5,7 @@
|
||||
*
|
||||
* Utilities for manipulating UV islands.
|
||||
*
|
||||
* \note This is similar to `GEO_uv_parametrizer.h`,
|
||||
* \note This is similar to `GEO_uv_parametrizer.hh`,
|
||||
* however the data structures there don't support arbitrary topology
|
||||
* such as an edge with 3 or more faces using it.
|
||||
* This API uses #BMesh data structures and doesn't have limitations for manifold meshes.
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
#include "DEG_depsgraph.h"
|
||||
|
||||
#include "GEO_uv_pack.hh"
|
||||
#include "GEO_uv_parametrizer.h"
|
||||
#include "GEO_uv_parametrizer.hh"
|
||||
|
||||
#include "PIL_time.h"
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ set(SRC
|
||||
GEO_subdivide_curves.hh
|
||||
GEO_trim_curves.hh
|
||||
GEO_uv_pack.hh
|
||||
GEO_uv_parametrizer.h
|
||||
GEO_uv_parametrizer.hh
|
||||
)
|
||||
|
||||
set(LIB
|
||||
|
||||
@@ -8,12 +8,8 @@
|
||||
* \ingroup geo
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct ParamHandle ParamHandle; /* Handle to an array of charts. */
|
||||
typedef uintptr_t ParamKey; /* Key (hash) for identifying verts and faces. */
|
||||
struct ParamHandle; /* Handle to an array of charts. */
|
||||
using ParamKey = uintptr_t; /* Key (hash) for identifying verts and faces. */
|
||||
#define PARAM_KEY_MAX UINTPTR_MAX
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
@@ -31,7 +27,7 @@ typedef uintptr_t ParamKey; /* Key (hash) for identifying verts and
|
||||
*
|
||||
* \{ */
|
||||
|
||||
ParamHandle *GEO_uv_parametrizer_construct_begin(void);
|
||||
ParamHandle *GEO_uv_parametrizer_construct_begin();
|
||||
|
||||
void GEO_uv_parametrizer_aspect_ratio(ParamHandle *handle, float aspx, float aspy);
|
||||
|
||||
@@ -126,7 +122,3 @@ void GEO_uv_parametrizer_flush(ParamHandle *handle);
|
||||
void GEO_uv_parametrizer_flush_restore(ParamHandle *handle);
|
||||
|
||||
/** \} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
@@ -4,7 +4,7 @@
|
||||
* \ingroup eduv
|
||||
*/
|
||||
|
||||
#include "GEO_uv_parametrizer.h"
|
||||
#include "GEO_uv_parametrizer.hh"
|
||||
|
||||
#include "BLI_array.hh"
|
||||
#include "BLI_convexhull_2d.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "GEO_uv_parametrizer.h"
|
||||
#include "GEO_uv_parametrizer.hh"
|
||||
|
||||
#include "DNA_mesh_types.h"
|
||||
#include "DNA_meshdata_types.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "GEO_uv_parametrizer.h"
|
||||
#include "GEO_uv_parametrizer.hh"
|
||||
|
||||
#include "DNA_mesh_types.h"
|
||||
#include "DNA_meshdata_types.h"
|
||||
|
||||
Reference in New Issue
Block a user