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
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef JOLT_CONE_TWIST_JOINT_3D_H
|
||||
#define JOLT_CONE_TWIST_JOINT_3D_H
|
||||
#pragma once
|
||||
|
||||
#include "../jolt_physics_server_3d.h"
|
||||
#include "jolt_joint_3d.h"
|
||||
|
|
@ -93,5 +92,3 @@ public:
|
|||
|
||||
virtual void rebuild() override;
|
||||
};
|
||||
|
||||
#endif // JOLT_CONE_TWIST_JOINT_3D_H
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef JOLT_GENERIC_6DOF_JOINT_3D_H
|
||||
#define JOLT_GENERIC_6DOF_JOINT_3D_H
|
||||
#pragma once
|
||||
|
||||
#include "../jolt_physics_server_3d.h"
|
||||
#include "jolt_joint_3d.h"
|
||||
|
|
@ -123,5 +122,3 @@ public:
|
|||
|
||||
virtual void rebuild() override;
|
||||
};
|
||||
|
||||
#endif // JOLT_GENERIC_6DOF_JOINT_3D_H
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef JOLT_HINGE_JOINT_3D_H
|
||||
#define JOLT_HINGE_JOINT_3D_H
|
||||
#pragma once
|
||||
|
||||
#include "../jolt_physics_server_3d.h"
|
||||
#include "jolt_joint_3d.h"
|
||||
|
|
@ -96,5 +95,3 @@ public:
|
|||
|
||||
virtual void rebuild() override;
|
||||
};
|
||||
|
||||
#endif // JOLT_HINGE_JOINT_3D_H
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ JoltJoint3D::JoltJoint3D(const JoltJoint3D &p_old_joint, JoltBody3D *p_body_a, J
|
|||
body_b->add_joint(this);
|
||||
}
|
||||
|
||||
if (body_b == nullptr && JoltProjectSettings::use_joint_world_node_a()) {
|
||||
if (body_b == nullptr && JoltProjectSettings::joint_world_node == JOLT_JOINT_WORLD_NODE_A) {
|
||||
// The joint scene nodes will, when omitting one of the two body nodes, always pass in a
|
||||
// null `body_b` to indicate it being the "world node", regardless of which body node you
|
||||
// leave blank. So we need to correct for that if we wish to use the arguably more intuitive
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef JOLT_JOINT_3D_H
|
||||
#define JOLT_JOINT_3D_H
|
||||
#pragma once
|
||||
|
||||
#include "servers/physics_server_3d.h"
|
||||
|
||||
|
|
@ -103,5 +102,3 @@ public:
|
|||
|
||||
virtual void rebuild() {}
|
||||
};
|
||||
|
||||
#endif // JOLT_JOINT_3D_H
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef JOLT_PIN_JOINT_3D_H
|
||||
#define JOLT_PIN_JOINT_3D_H
|
||||
#pragma once
|
||||
|
||||
#include "jolt_joint_3d.h"
|
||||
|
||||
|
|
@ -60,5 +59,3 @@ public:
|
|||
|
||||
virtual void rebuild() override;
|
||||
};
|
||||
|
||||
#endif // JOLT_PIN_JOINT_3D_H
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef JOLT_SLIDER_JOINT_3D_H
|
||||
#define JOLT_SLIDER_JOINT_3D_H
|
||||
#pragma once
|
||||
|
||||
#include "../jolt_physics_server_3d.h"
|
||||
#include "jolt_joint_3d.h"
|
||||
|
|
@ -92,5 +91,3 @@ public:
|
|||
|
||||
virtual void rebuild() override;
|
||||
};
|
||||
|
||||
#endif // JOLT_SLIDER_JOINT_3D_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue