summaryrefslogtreecommitdiff
path: root/servers/physics_3d/godot_shape_3d.h
diff options
context:
space:
mode:
authorPeter Eastman <peastman@stanford.edu>2022-08-13 20:11:56 -0700
committerPeter Eastman <peastman@stanford.edu>2022-10-18 19:54:29 -0700
commit562aa1bf763150a0a6434639e2d4eb20b36f83cc (patch)
treebbedb747147f49e6d2fcdef1e7f813d8d7654f3c /servers/physics_3d/godot_shape_3d.h
parent4a96fce801cae2d3e0fe42005c74ca7d60cc1582 (diff)
Optimized support function for large meshes
Diffstat (limited to 'servers/physics_3d/godot_shape_3d.h')
-rw-r--r--servers/physics_3d/godot_shape_3d.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/physics_3d/godot_shape_3d.h b/servers/physics_3d/godot_shape_3d.h
index 1fc8f7c711..dc8e34e2bc 100644
--- a/servers/physics_3d/godot_shape_3d.h
+++ b/servers/physics_3d/godot_shape_3d.h
@@ -277,6 +277,8 @@ public:
struct GodotConvexPolygonShape3D : public GodotShape3D {
Geometry3D::MeshData mesh;
+ LocalVector<int> extreme_vertices;
+ LocalVector<LocalVector<int>> vertex_neighbors;
void _setup(const Vector<Vector3> &p_vertices);