Blender V5.0
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
35
36typedef struct Dial Dial;
37
38Dial *BLI_dial_init(const float start_position[2], float threshold);
39void BLI_dial_free(Dial *dial);
40
41float BLI_dial_angle(Dial *dial, const float current_position[2]);
void BLI_dial_free(Dial *dial)
Dial * BLI_dial_init(const float start_position[2], float threshold)
float BLI_dial_angle(Dial *dial, const float current_position[2])