Merge pull request #111424 from lawnjelly/span

[3.x] Add `Span` and some basic uses from `Geometry`.
This commit is contained in:
lawnjelly 2025-10-13 08:53:06 +01:00 committed by GitHub
commit 5b8789e83a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 264 additions and 18 deletions

View file

@ -536,7 +536,7 @@ bool EditorSpatialGizmo::intersect_frustum(const Camera *p_camera, const Vector<
transformed_frustum.push_back(it.xform(p_frustum[i]));
}
Vector<Vector3> convex_points = Geometry::compute_convex_mesh_points(p_frustum.ptr(), p_frustum.size());
Vector<Vector3> convex_points = Geometry::compute_convex_mesh_points(p_frustum);
if (collision_mesh->inside_convex_shape(transformed_frustum.ptr(), transformed_frustum.size(), convex_points.ptr(), convex_points.size(), mesh_scale)) {
return true;