diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-08-11 02:35:16 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-08-11 02:37:02 +0200 |
commit | 937c1a716c87e48ba0d1c097747e0438dc076f67 (patch) | |
tree | 956f3f725bab532a92f0c96a97fd93291d4eca08 /core/config/engine.h | |
parent | 18bd0fee5a8aa360177cbe14a16d6be69f088d8f (diff) |
Rename `iterations_per_second` to `physics_ticks_per_second`
This makes it clearer that this property is only about physics FPS,
not rendering FPS.
The `physics_fps` project setting was also renamed to
`physics_ticks_per_second` for consistency.
Diffstat (limited to 'core/config/engine.h')
-rw-r--r-- | core/config/engine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/config/engine.h b/core/config/engine.h index 3b3e5825b2..e6b5df2d5a 100644 --- a/core/config/engine.h +++ b/core/config/engine.h @@ -78,8 +78,8 @@ private: public: static Engine *get_singleton(); - virtual void set_iterations_per_second(int p_ips); - virtual int get_iterations_per_second() const; + virtual void set_physics_ticks_per_second(int p_ips); + virtual int get_physics_ticks_per_second() const; void set_physics_jitter_fix(double p_threshold); double get_physics_jitter_fix() const; |