summaryrefslogtreecommitdiffstats
path: root/scene/resources/cylinder_shape_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/cylinder_shape_3d.cpp')
-rw-r--r--scene/resources/cylinder_shape_3d.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/resources/cylinder_shape_3d.cpp b/scene/resources/cylinder_shape_3d.cpp
index 7636c55346..19f0542818 100644
--- a/scene/resources/cylinder_shape_3d.cpp
+++ b/scene/resources/cylinder_shape_3d.cpp
@@ -29,7 +29,7 @@
/*************************************************************************/
#include "cylinder_shape_3d.h"
-#include "servers/physics_server.h"
+#include "servers/physics_server_3d.h"
Vector<Vector3> CylinderShape3D::get_debug_mesh_lines() {
@@ -71,7 +71,7 @@ void CylinderShape3D::_update_shape() {
Dictionary d;
d["radius"] = radius;
d["height"] = height;
- PhysicsServer::get_singleton()->shape_set_data(get_shape(), d);
+ PhysicsServer3D::get_singleton()->shape_set_data(get_shape(), d);
Shape3D::_update_shape();
}
@@ -113,7 +113,7 @@ void CylinderShape3D::_bind_methods() {
}
CylinderShape3D::CylinderShape3D() :
- Shape3D(PhysicsServer::get_singleton()->shape_create(PhysicsServer::SHAPE_CYLINDER)) {
+ Shape3D(PhysicsServer3D::get_singleton()->shape_create(PhysicsServer3D::SHAPE_CYLINDER)) {
radius = 1.0;
height = 2.0;