Blender
V4.3
source
blender
blenlib
BLI_dial_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
36
#ifdef __cplusplus
37
extern
"C"
{
38
#endif
39
40
typedef
struct
Dial
Dial
;
41
42
Dial
*
BLI_dial_init
(
const
float
start_position[2],
float
threshold);
43
44
float
BLI_dial_angle
(
Dial
*dial,
const
float
current_position[2]);
45
46
#ifdef __cplusplus
47
}
48
#endif
BLI_dial_init
Dial * BLI_dial_init(const float start_position[2], float threshold)
Definition
BLI_dial_2d.c:37
BLI_dial_angle
float BLI_dial_angle(Dial *dial, const float current_position[2])
Definition
BLI_dial_2d.c:47
Dial
Definition
BLI_dial_2d.c:15
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0