summaryrefslogtreecommitdiff
path: root/scene/resources/convex_polygon_shape_3d.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-03-27 22:14:50 +0100
committerGitHub <noreply@github.com>2020-03-27 22:14:50 +0100
commitfcfffd729789cd80aa77056ca089697b52297d04 (patch)
treefc1bb58e900436c48c03c52106eb57250442ae35 /scene/resources/convex_polygon_shape_3d.cpp
parent307b1b3a5835ecdb477859785c673a07e248f904 (diff)
parenta6f3bc7c696af03e3875f78e098d2476e409d15e (diff)
Merge pull request #37361 from reduz/server-renames
Renaming of servers for coherency.
Diffstat (limited to 'scene/resources/convex_polygon_shape_3d.cpp')
-rw-r--r--scene/resources/convex_polygon_shape_3d.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/resources/convex_polygon_shape_3d.cpp b/scene/resources/convex_polygon_shape_3d.cpp
index e25301b2eb..ec9ab68015 100644
--- a/scene/resources/convex_polygon_shape_3d.cpp
+++ b/scene/resources/convex_polygon_shape_3d.cpp
@@ -30,7 +30,7 @@
#include "convex_polygon_shape_3d.h"
#include "core/math/quick_hull.h"
-#include "servers/physics_server.h"
+#include "servers/physics_server_3d.h"
Vector<Vector3> ConvexPolygonShape3D::get_debug_mesh_lines() {
@@ -67,7 +67,7 @@ real_t ConvexPolygonShape3D::get_enclosing_radius() const {
void ConvexPolygonShape3D::_update_shape() {
- PhysicsServer::get_singleton()->shape_set_data(get_shape(), points);
+ PhysicsServer3D::get_singleton()->shape_set_data(get_shape(), points);
Shape3D::_update_shape();
}
@@ -92,5 +92,5 @@ void ConvexPolygonShape3D::_bind_methods() {
}
ConvexPolygonShape3D::ConvexPolygonShape3D() :
- Shape3D(PhysicsServer::get_singleton()->shape_create(PhysicsServer::SHAPE_CONVEX_POLYGON)) {
+ Shape3D(PhysicsServer3D::get_singleton()->shape_create(PhysicsServer3D::SHAPE_CONVEX_POLYGON)) {
}