Benign repos Download

webxr_interface_js.cpp

Source contains low-bit mask syntaximports core/os/os.h
SHA-256a84c842058d55c5dd795ad22d8d5890887bb94464c158f1c19ba62ec6f2333ea
MaleculeH(Db)Md(In)

Evidence

English function-word token "this" lines 3–5
3:57… *******************/
4/* This file is part of: */
5/* GODOT ENGINE …
English function-word token "the" lines 11–14
11:51… o any person obtaining */
12/* a copy of this software and associated documentation files (the */
13/* "Software"), to deal in the Software without restriction, including */
14/* witho …
English function-word token "for" lines 23–25
23:58… ARRANTIES OF */
24/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
25/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLD …
imports core/os/os.h lines 29–50
29:30… **********************************************/
30
31#include "webxr_interface_js.h"
32
33#ifdef WEB_ENABLED
34
35#include "godot_webxr.h"
36
37#include "core/input/input.h"
38#include "core/os/os.h"
39#include "drivers/gles3/storage/texture_storage.h"
40#include "scene/main/scene_tree.h"
41#include "scene/main/window.h"
42#include "scene/scene_string_names.h"
43#include "servers/display/display_server.h"
44#include "servers/xr/xr_hand_tracker.h"
45
46#include <emscripten.h>
47#include <cstdlib>
48
49void _emwebxr_on_session_supported(char *p_session_mode, int p_supported) {
50 XRServer *xr_serv …
Source contains low-bit mask syntax lines 675–681
675:19… tracker_names[p_input_source_id];
676 }
677
678 // Input source id's 0 and 1 are always the left and right hands.
679 if (p_input_source_id < 2) {
680 tracker->set_tracker_name(tracker_name);
681 tracker->set …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.