feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -1,5 +1,5 @@
|
|||
def can_build(env, platform):
|
||||
return env["opengl3"] and not env["disable_3d"]
|
||||
return env["opengl3"] and not env["disable_xr"]
|
||||
|
||||
|
||||
def configure(env):
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef GODOT_WEBXR_H
|
||||
#define GODOT_WEBXR_H
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
@ -100,5 +99,3 @@ extern int godot_webxr_get_supported_frame_rates(float **r_frame_rates);
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // GODOT_WEBXR_H
|
||||
|
|
|
|||
|
|
@ -28,12 +28,9 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef WEBXR_REGISTER_TYPES_H
|
||||
#define WEBXR_REGISTER_TYPES_H
|
||||
#pragma once
|
||||
|
||||
#include "modules/register_module_types.h"
|
||||
|
||||
void initialize_webxr_module(ModuleInitializationLevel p_level);
|
||||
void uninitialize_webxr_module(ModuleInitializationLevel p_level);
|
||||
|
||||
#endif // WEBXR_REGISTER_TYPES_H
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef WEBXR_INTERFACE_H
|
||||
#define WEBXR_INTERFACE_H
|
||||
#pragma once
|
||||
|
||||
#include "servers/xr/xr_controller_tracker.h"
|
||||
#include "servers/xr/xr_interface.h"
|
||||
|
|
@ -78,5 +77,3 @@ public:
|
|||
};
|
||||
|
||||
VARIANT_ENUM_CAST(WebXRInterface::TargetRayMode);
|
||||
|
||||
#endif // WEBXR_INTERFACE_H
|
||||
|
|
|
|||
|
|
@ -294,7 +294,7 @@ bool WebXRInterfaceJS::initialize() {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (requested_reference_space_types.size() == 0) {
|
||||
if (requested_reference_space_types.is_empty()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef WEBXR_INTERFACE_JS_H
|
||||
#define WEBXR_INTERFACE_JS_H
|
||||
#pragma once
|
||||
|
||||
#ifdef WEB_ENABLED
|
||||
|
||||
|
|
@ -263,5 +262,3 @@ private:
|
|||
};
|
||||
|
||||
#endif // WEB_ENABLED
|
||||
|
||||
#endif // WEBXR_INTERFACE_JS_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue