summaryrefslogtreecommitdiff
path: root/servers/physics
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-01-02 21:38:20 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-01-02 21:52:26 +0100
commit3f3f5a5359973e95e94148676a9793d6f52468f3 (patch)
tree65adf17c3d3f8d3a83bec29f51142fe884e942d8 /servers/physics
parentdb46a344180d4eae1455e97e22bf84c9c304be7c (diff)
parent2820b2d82b2ed747011e37c543aefc6d4d4edee9 (diff)
Merge remote-tracking branch 'origin/gles3' into gles3-on-master
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
Diffstat (limited to 'servers/physics')
-rw-r--r--servers/physics/broad_phase_octree.cpp2
-rw-r--r--servers/physics/constraint_sw.h2
-rw-r--r--servers/physics/shape_sw.h4
-rw-r--r--servers/physics/space_sw.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/servers/physics/broad_phase_octree.cpp b/servers/physics/broad_phase_octree.cpp
index e747ea93ad..60fbf926bd 100644
--- a/servers/physics/broad_phase_octree.cpp
+++ b/servers/physics/broad_phase_octree.cpp
@@ -29,7 +29,7 @@
#include "broad_phase_octree.h"
#include "collision_object_sw.h"
-ID BroadPhaseOctree::create(CollisionObjectSW *p_object, int p_subindex) {
+BroadPhaseSW::ID BroadPhaseOctree::create(CollisionObjectSW *p_object, int p_subindex) {
ID oid = octree.create(p_object,AABB(),p_subindex,false,1<<p_object->get_type(),0);
return oid;
diff --git a/servers/physics/constraint_sw.h b/servers/physics/constraint_sw.h
index e178de441d..adc17cb753 100644
--- a/servers/physics/constraint_sw.h
+++ b/servers/physics/constraint_sw.h
@@ -31,7 +31,7 @@
#include "body_sw.h"
-class ConstraintSW {
+class ConstraintSW : public RID_Data {
BodySW **_body_ptr;
int _body_count;
diff --git a/servers/physics/shape_sw.h b/servers/physics/shape_sw.h
index 5328a0b976..d031a9fb9b 100644
--- a/servers/physics/shape_sw.h
+++ b/servers/physics/shape_sw.h
@@ -46,7 +46,7 @@ SHAPE_CUSTOM, ///< Server-Implementation based custom shape, calling shape_creat
class ShapeSW;
-class ShapeOwnerSW {
+class ShapeOwnerSW : public RID_Data {
public:
virtual void _shape_changed()=0;
@@ -56,7 +56,7 @@ public:
};
-class ShapeSW {
+class ShapeSW : public RID_Data {
RID self;
AABB aabb;
diff --git a/servers/physics/space_sw.h b/servers/physics/space_sw.h
index 1180d787e5..21973b785e 100644
--- a/servers/physics/space_sw.h
+++ b/servers/physics/space_sw.h
@@ -58,7 +58,7 @@ public:
-class SpaceSW {
+class SpaceSW : public RID_Data {
public: