Blender  V3.3
BLI_dial_2d.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #pragma once
4 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 typedef struct Dial Dial;
39 
40 Dial *BLI_dial_init(const float start_position[2], float threshold);
41 
42 float BLI_dial_angle(Dial *dial, const float current_position[2]);
43 
44 #ifdef __cplusplus
45 }
46 #endif
Dial * BLI_dial_init(const float start_position[2], float threshold)
Definition: BLI_dial_2d.c:34
float BLI_dial_angle(Dial *dial, const float current_position[2])
Definition: BLI_dial_2d.c:44
ccl_gpu_kernel_postfix ccl_global float int int int int float threshold