Blender
V5.0
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
10
11
struct
MemArena
;
12
16
void
BLI_polyfill_calc_arena
(
const
float
(*coords)[2],
17
unsigned
int
coords_num,
18
int
coords_sign,
19
unsigned
int
(*r_tris)[3],
20
21
struct
MemArena
*arena);
22
36
void
BLI_polyfill_calc
(
const
float
(*coords)[2],
37
unsigned
int
coords_num,
38
int
coords_sign,
39
unsigned
int
(*r_tris)[3]);
40
41
/* default size of polyfill arena */
42
#define BLI_POLYFILL_ARENA_SIZE MEM_SIZE_OPTIMAL(1 << 14)
BLI_polyfill_calc
void BLI_polyfill_calc(const float(*coords)[2], unsigned int coords_num, int coords_sign, unsigned int(*r_tris)[3])
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)
MemArena
Definition
BLI_memarena.cc:42
Generated on
for Blender by
doxygen
1.16.1