1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

Renamed PlaneShape to WorldMarginShape

This commit is contained in:
Andrea Catania
2020-02-21 12:19:24 +01:00
parent 3b64ecbc4b
commit 2e0fb66c6f
12 changed files with 37 additions and 41 deletions

View File

@@ -58,11 +58,11 @@
#include "scene/resources/convex_polygon_shape.h"
#include "scene/resources/cylinder_shape.h"
#include "scene/resources/height_map_shape.h"
#include "scene/resources/plane_shape.h"
#include "scene/resources/primitive_meshes.h"
#include "scene/resources/ray_shape.h"
#include "scene/resources/sphere_shape.h"
#include "scene/resources/surface_tool.h"
#include "scene/resources/world_margin_shape.h"
#define HANDLE_HALF_SIZE 9.5
@@ -3575,9 +3575,9 @@ void CollisionShapeSpatialGizmoPlugin::redraw(EditorSpatialGizmo *p_gizmo) {
p_gizmo->add_handles(handles, handles_material);
}
if (Object::cast_to<PlaneShape>(*s)) {
if (Object::cast_to<WorldMarginShape>(*s)) {
Ref<PlaneShape> ps = s;
Ref<WorldMarginShape> ps = s;
Plane p = ps->get_plane();
Vector<Vector3> points;