mirror of
https://github.com/godotengine/godot.git
synced 2025-11-03 15:11:19 +00:00
Style: Cleanup single-line blocks, semicolons, dead code
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
This commit is contained in:
parent
f5b9cbaff6
commit
b8b4580448
137 changed files with 847 additions and 1269 deletions
|
|
@ -31,11 +31,13 @@
|
|||
#ifdef JAVASCRIPT_ENABLED
|
||||
|
||||
#include "webxr_interface_js.h"
|
||||
|
||||
#include "core/input/input.h"
|
||||
#include "core/os/os.h"
|
||||
#include "emscripten.h"
|
||||
#include "godot_webxr.h"
|
||||
#include "servers/rendering/renderer_compositor.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
void _emwebxr_on_session_supported(char *p_session_mode, int p_supported) {
|
||||
|
|
@ -481,7 +483,6 @@ void WebXRInterfaceJS::_update_tracker(int p_controller_id) {
|
|||
sprintf(name, "axis_%i", i);
|
||||
|
||||
float value = *((float *)axes + (i + 1));
|
||||
;
|
||||
tracker->set_input(name, value);
|
||||
}
|
||||
free(axes);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue