Blender V4.3
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
37extern "C" {
38#endif
39
40typedef struct Dial Dial;
41
42Dial *BLI_dial_init(const float start_position[2], float threshold);
43
44float BLI_dial_angle(Dial *dial, const float current_position[2]);
45
46#ifdef __cplusplus
47}
48#endif
Dial * BLI_dial_init(const float start_position[2], float threshold)
Definition BLI_dial_2d.c:37
float BLI_dial_angle(Dial *dial, const float current_position[2])
Definition BLI_dial_2d.c:47