Blender
V5.0
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
35
36
typedef
struct
Dial
Dial
;
37
38
Dial
*
BLI_dial_init
(
const
float
start_position[2],
float
threshold);
39
void
BLI_dial_free
(
Dial
*dial);
40
41
float
BLI_dial_angle
(
Dial
*dial,
const
float
current_position[2]);
BLI_dial_free
void BLI_dial_free(Dial *dial)
Definition
BLI_dial_2d.cc:47
BLI_dial_init
Dial * BLI_dial_init(const float start_position[2], float threshold)
Definition
BLI_dial_2d.cc:37
BLI_dial_angle
float BLI_dial_angle(Dial *dial, const float current_position[2])
Definition
BLI_dial_2d.cc:52
Dial
Definition
BLI_dial_2d.cc:15
Generated on
for Blender by
doxygen
1.16.1