Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-11-13 23:16:15 +0300
committerHans Goudey <h.goudey@me.com>2022-11-13 23:16:24 +0300
commit3eb2bc2c3fd1170b0bfe8f96db3a285aff9759d2 (patch)
treebc6178c92aa29b6aae8500bbe88f8300f2ab0290 /source/blender/gpencil_modifiers/intern/lineart/lineart_intern.h
parentfba7461e1a51643ea4762f2dc5d4811b49cedbef (diff)
Cleanup: Move lineart_cpu.c to C++
To enable further mesh data structure refactoring-- access to loose edges in particular.
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/lineart/lineart_intern.h')
-rw-r--r--source/blender/gpencil_modifiers/intern/lineart/lineart_intern.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/gpencil_modifiers/intern/lineart/lineart_intern.h b/source/blender/gpencil_modifiers/intern/lineart/lineart_intern.h
index 947586aaec4..f33208ff931 100644
--- a/source/blender/gpencil_modifiers/intern/lineart/lineart_intern.h
+++ b/source/blender/gpencil_modifiers/intern/lineart/lineart_intern.h
@@ -17,6 +17,10 @@
#include <math.h>
#include <string.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct LineartEdge;
struct LineartData;
struct LineartStaticMemPool;
@@ -148,7 +152,7 @@ bool lineart_edge_from_triangle(const struct LineartTriangle *tri,
LineartBoundingArea *lineart_edge_first_bounding_area(struct LineartData *ld,
double *fbcoord1,
double *fbcoord2);
-LineartBoundingArea *lineart_bounding_area_next(struct LineartBoundingArea *_this,
+LineartBoundingArea *lineart_bounding_area_next(struct LineartBoundingArea *self,
double *fbcoord1,
double *fbcoord2,
double x,
@@ -169,10 +173,6 @@ void lineart_add_edge_to_array(struct LineartPendingEdges *pe, struct LineartEdg
void lineart_finalize_object_edge_array_reserve(struct LineartPendingEdges *pe, int count);
void lineart_destroy_render_data_keep_init(struct LineartData *ld);
-#ifdef __cplusplus
-extern "C" {
-#endif
-
void lineart_sort_adjacent_items(struct LineartAdjacentEdge *ai, int length);
#ifdef __cplusplus