Blender
V4.3
source
blender
blenlib
BLI_polyfill_2d.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
11
#ifdef __cplusplus
12
extern
"C"
{
13
#endif
14
15
struct
MemArena
;
16
20
void
BLI_polyfill_calc_arena
(
const
float
(*coords)[2],
21
unsigned
int
coords_num,
22
int
coords_sign,
23
unsigned
int
(*r_tris)[3],
24
25
struct
MemArena
*arena);
26
40
void
BLI_polyfill_calc
(
const
float
(*coords)[2],
41
unsigned
int
coords_num,
42
int
coords_sign,
43
unsigned
int
(*r_tris)[3]);
44
45
/* default size of polyfill arena */
46
#define BLI_POLYFILL_ARENA_SIZE MEM_SIZE_OPTIMAL(1 << 14)
47
48
#ifdef __cplusplus
49
}
50
#endif
BLI_polyfill_calc
void BLI_polyfill_calc(const float(*coords)[2], unsigned int coords_num, int coords_sign, unsigned int(*r_tris)[3])
Definition
polyfill_2d.c:910
BLI_polyfill_calc_arena
void BLI_polyfill_calc_arena(const float(*coords)[2], unsigned int coords_num, int coords_sign, unsigned int(*r_tris)[3], struct MemArena *arena)
Definition
polyfill_2d.c:865
MemArena
Definition
BLI_memarena.c:42
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0