Blender
V3.3
|
Go to the source code of this file.
Classes | |
struct | Dial |
Functions | |
Dial * | BLI_dial_init (const float start_position[2], float threshold) |
float | BLI_dial_angle (Dial *dial, const float current_position[2]) |
Definition at line 44 of file BLI_dial_2d.c.
References angle(), atan2f, Dial::center, copy_v2_v2(), cross_v2v2(), dot_v2v2(), fabsf, float(), Dial::initial_direction, Dial::initialized, Dial::last_angle, len_squared_v2(), M_PI, M_PI_2, normalize_v2(), Dial::rotations, sub_v2_v2v2(), and Dial::threshold_squared.
Referenced by gizmo_cage2d_modal(), radial_control_modal(), sculpt_update_cache_variants(), and viewroll_apply().
Definition at line 34 of file BLI_dial_2d.c.
References Dial::center, copy_v2_v2(), MEM_callocN, threshold, and Dial::threshold_squared.
Referenced by gizmo_cage2d_modal(), radial_control_modal(), sculpt_update_cache_invariants(), and viewroll_invoke().