diff options
| -rw-r--r-- | doc/classes/Vector2.xml | 3 | ||||
| -rw-r--r-- | main/main.cpp | 3 | ||||
| -rw-r--r-- | servers/audio_server.cpp | 3 | ||||
| -rw-r--r-- | servers/audio_server.h | 1 |
4 files changed, 2 insertions, 8 deletions
diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml index 26e2da09d..ba62a385a 100644 --- a/doc/classes/Vector2.xml +++ b/doc/classes/Vector2.xml @@ -76,6 +76,7 @@ <return type="Vector2"> </return> <description> + Returns the vector with all components rounded up. </description> </method> <method name="clamped"> @@ -142,7 +143,7 @@ <return type="Vector2"> </return> <description> - Remove the fractional part of x and y. + Returns the vector with all components rounded down. </description> </method> <method name="is_normalized"> diff --git a/main/main.cpp b/main/main.cpp index 119d1ee34..f719830cb 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1815,9 +1815,6 @@ bool Main::iteration() { } } - if (AudioServer::get_singleton()) - AudioServer::get_singleton()->update(); - idle_process_ticks = OS::get_singleton()->get_ticks_usec() - idle_begin; idle_process_max = MAX(idle_process_ticks, idle_process_max); uint64_t frame_time = OS::get_singleton()->get_ticks_usec() - ticks; diff --git a/servers/audio_server.cpp b/servers/audio_server.cpp index b08e41301..8ee43ddc3 100644 --- a/servers/audio_server.cpp +++ b/servers/audio_server.cpp @@ -939,9 +939,6 @@ void AudioServer::finish() { buses.clear(); } -void AudioServer::update() { -} - /* MISC config */ void AudioServer::lock() { diff --git a/servers/audio_server.h b/servers/audio_server.h index af2668b69..b7fcd9c09 100644 --- a/servers/audio_server.h +++ b/servers/audio_server.h @@ -273,7 +273,6 @@ public: virtual void init(); virtual void finish(); - virtual void update(); virtual void load_default_bus_layout(); /* MISC config */ |
