From fdd228071a3112aeebda20766c7df3b20b8651aa Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 2 Dec 2021 14:44:36 +0800 Subject: +Fix32 --- Client/Source/Phy2D/Dynamic/World.h | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 Client/Source/Phy2D/Dynamic/World.h (limited to 'Client/Source/Phy2D/Dynamic/World.h') diff --git a/Client/Source/Phy2D/Dynamic/World.h b/Client/Source/Phy2D/Dynamic/World.h deleted file mode 100644 index 93c883d..0000000 --- a/Client/Source/Phy2D/Dynamic/World.h +++ /dev/null @@ -1,36 +0,0 @@ -#pragma once - -#include -#include -#include "../Common/Math.h" -#include "Arbiter.h" - -namespace Phy2D -{ - - struct Body; - struct Joint; - - struct World - { - World(Vec2 gravity, int iterations) : gravity(gravity), iterations(iterations) {} - - void Add(Body* body); - void Add(Joint* joint); - void Clear(); - - void Step(number dt); - - void BroadPhase(); - - std::vector bodies; - std::vector joints; - std::map arbiters; - Vec2 gravity; - int iterations; - static bool accumulateImpulses; - static bool warmStarting; - static bool positionCorrection; - }; - -} -- cgit v1.1-26-g67d0