various bug fix, serialization, adding shapes
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include <Jolt/Physics/Body/BodyActivationListener.h>
|
||||
|
||||
#include <cstdarg>
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
using namespace JPH;
|
||||
using namespace JPH::literals;
|
||||
@@ -73,6 +74,8 @@ namespace BroadPhaseLayers
|
||||
static constexpr uint NUM_LAYERS(2);
|
||||
};
|
||||
|
||||
inline JPH::Vec3 ToJolt(const glm::vec3& v) { return JPH::Vec3(v.x, v.y, v.z); };
|
||||
|
||||
class BPLayerInterfaceImpl final : public BroadPhaseLayerInterface
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user