mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Use r128.h for high precision snapping
This commit is contained in:
parent
eee7ce635b
commit
af8bdac5a9
2 changed files with 24 additions and 2 deletions
|
|
@ -62,6 +62,7 @@ class Range : public Control {
|
|||
void _set_value_no_signal(double p_val);
|
||||
|
||||
protected:
|
||||
static double _snapped_r128(double p_value, double p_step);
|
||||
double _calc_value(double p_val, double p_step) const;
|
||||
virtual void _value_changed(double p_value);
|
||||
void _notify_shared_value_changed() { shared->emit_value_changed(); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue