From e08254b15449efd3a4a73e3167e958d6b6455cfb Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 27 May 2023 13:36:24 +0200 Subject: [PATCH] Fix typo. --- gdnative/vector3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdnative/vector3.cpp b/gdnative/vector3.cpp index ecbf2b6..2699b50 100644 --- a/gdnative/vector3.cpp +++ b/gdnative/vector3.cpp @@ -174,7 +174,7 @@ pandemonium_vector3 GDAPI pandemonium_vector3_bezier_interpolate(const pandemoni const Vector3 *control_1 = (const Vector3 *)p_control_1; const Vector3 *control_2 = (const Vector3 *)p_control_2; const Vector3 *end = (const Vector3 *)p_end; - *((Vector3 *)&dest) = self->cubic_interpolate(*control_1, *control_2, *end, p_t); + *((Vector3 *)&dest) = self->bezier_interpolate(*control_1, *control_2, *end, p_t); return dest; }