Physics working

This commit is contained in:
Confideo-IOM
2026-08-24 20:59:24 +01:00
parent 20c0794d10
commit 1253571c17
146 changed files with 4469 additions and 1273 deletions
@@ -0,0 +1,31 @@
#ifndef HYDRADESTROYPHYSICSWORLDTASK
#define HYDRADESTROYPHYSICSWORLDTASK
#include "../HydraTask.h"
#include "../../engine/HydraEngine.h"
#include "../../renderer/HydraRenderer.h"
#include <GLMIncludes.h>
#include "../../GlewIncludes.h"
#include "../../buffer/HydraTextureBufferManager.h"
#include <box3d/box3d.h>
class HydraDestroyPhysicsWorldTask : public HydraTask
{
private:
b3WorldId m_world_id = {};
protected:
public:
void Process() override
{
b3DestroyWorld(m_world_id);
}
void Initialise(b3WorldId world_id)
{
m_world_id = world_id;
}
};
#endif /* HYDRADESTROYPHYSICSWORLDTASK */