aboutsummaryrefslogtreecommitdiff
path: root/src/shared/phys/physcommon.cpp
diff options
context:
space:
mode:
authorAlexander Pickering <alex@cogarr.net>2018-10-31 12:50:27 -0400
committerAlexander Pickering <alex@cogarr.net>2018-10-31 12:50:27 -0400
commitd6edc1d0c534d77b69a2ee828e6d3cce6b981232 (patch)
tree5f5499997b9aa61e5f07b38be8cb0d47b54ed52c /src/shared/phys/physcommon.cpp
parent8291075aeaf614c2f8dc0a0f4c199fd4a0d45cdd (diff)
downloadbrokengine-d6edc1d0c534d77b69a2ee828e6d3cce6b981232.tar.gz
brokengine-d6edc1d0c534d77b69a2ee828e6d3cce6b981232.tar.bz2
brokengine-d6edc1d0c534d77b69a2ee828e6d3cce6b981232.zip
Added header gaurds to physcommon
Diffstat (limited to 'src/shared/phys/physcommon.cpp')
-rw-r--r--src/shared/phys/physcommon.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/phys/physcommon.cpp b/src/shared/phys/physcommon.cpp
index 6092b4f..11f18c9 100644
--- a/src/shared/phys/physcommon.cpp
+++ b/src/shared/phys/physcommon.cpp
@@ -1,3 +1,5 @@
+#ifndef __shared_physcommon_h
+#define __shared_physcommon_h
#include <chrono>
#include <list>
#include <btBulletDynamicsCommon.h>
@@ -85,3 +87,4 @@ void gameloop_phys(void(*f)(btRigidBody*)){
UpdatePhysics(steps,f);
t1 = now;
}
+#endif