diff options
author | Juan Linietsky <reduzio@gmail.com> | 2023-04-25 00:21:32 +0200 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2023-04-30 20:01:26 +0200 |
commit | 1c93606e470f0cad5f14af104ccb89a95a89931c (patch) | |
tree | fad6e8c9e15c3a3a211d4b2fff98a4e81a5ae2ca /core/core_bind.h | |
parent | 14c582bca81046fdde35e16088ddfd5df0136d56 (diff) | |
download | redot-engine-1c93606e470f0cad5f14af104ccb89a95a89931c.tar.gz |
Add ValidatedCall to MethodBind
* This should optimize GDScript function calling _enormously_.
* It also should simplify the GDScript VM considerably.
NOTE: GDExtension calling performance has most likely been affected until going via ptrcall is fixed.
Diffstat (limited to 'core/core_bind.h')
-rw-r--r-- | core/core_bind.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/core_bind.h b/core/core_bind.h index c7d597562a..04642f464c 100644 --- a/core/core_bind.h +++ b/core/core_bind.h @@ -323,7 +323,7 @@ public: Vector<Vector3> segment_intersects_sphere(const Vector3 &p_from, const Vector3 &p_to, const Vector3 &p_sphere_pos, real_t p_sphere_radius); Vector<Vector3> segment_intersects_cylinder(const Vector3 &p_from, const Vector3 &p_to, float p_height, float p_radius); - Vector<Vector3> segment_intersects_convex(const Vector3 &p_from, const Vector3 &p_to, const Vector<Plane> &p_planes); + Vector<Vector3> segment_intersects_convex(const Vector3 &p_from, const Vector3 &p_to, const TypedArray<Plane> &p_planes); Vector<Vector3> clip_polygon(const Vector<Vector3> &p_points, const Plane &p_plane); |