diff --git a/modules/gdnative/gdnative/basis.cpp b/modules/gdnative/gdnative/basis.cpp index f1c5e59b7..1f829e6f8 100644 --- a/modules/gdnative/gdnative/basis.cpp +++ b/modules/gdnative/gdnative/basis.cpp @@ -691,7 +691,7 @@ pandemonium_vector3 GDAPI pandemonium_basis_xform_normal(const pandemonium_basis return dest; } -pandemonium_basis GDAPI pandemonium_basis_create_looking_at(const pandemonium_vector3 *p_target) { +pandemonium_basis GDAPI pandemonium_basis_looking_at(const pandemonium_vector3 *p_target) { pandemonium_basis dest; const Vector3 *target = (const Vector3 *)p_target; *((Basis *)&dest) = Basis::create_looking_at(*target); @@ -704,7 +704,7 @@ pandemonium_basis GDAPI pandemonium_basis_looking_at_up(const pandemonium_vector *((Basis *)&dest) = Basis::create_looking_at(*target, *up); return dest; } -pandemonium_basis GDAPI pandemonium_basis_create_from_scale(const pandemonium_vector3 *p_scale) { +pandemonium_basis GDAPI pandemonium_basis_from_scale(const pandemonium_vector3 *p_scale) { pandemonium_basis dest; const Vector3 *scale = (const Vector3 *)p_scale; *((Basis *)&dest) = Basis::create_from_scale(*scale); diff --git a/modules/gdnative/gdnative_api.json b/modules/gdnative/gdnative_api.json index d74db07c5..2d77d2b06 100644 --- a/modules/gdnative/gdnative_api.json +++ b/modules/gdnative/gdnative_api.json @@ -1696,7 +1696,7 @@ ] }, { - "name": "pandemonium_basis_create_looking_at", + "name": "pandemonium_basis_looking_at", "return_type": "pandemonium_basis", "arguments": [ ["const pandemonium_vector3 *", "p_target"] @@ -1711,7 +1711,7 @@ ] }, { - "name": "pandemonium_basis_create_from_scale", + "name": "pandemonium_basis_from_scale", "return_type": "pandemonium_basis", "arguments": [ ["const pandemonium_vector3 *", "p_scale"] diff --git a/modules/gdnative/include/gdn/basis.h b/modules/gdnative/include/gdn/basis.h index 98eb5da3d..7658d7611 100644 --- a/modules/gdnative/include/gdn/basis.h +++ b/modules/gdnative/include/gdn/basis.h @@ -213,9 +213,9 @@ pandemonium_basis GDAPI pandemonium_basis_get_normal_xform_basis(const pandemoni pandemonium_vector3 GDAPI pandemonium_basis_xform_normal_fast(const pandemonium_basis *p_self, const pandemonium_vector3 *p_vector); pandemonium_vector3 GDAPI pandemonium_basis_xform_normal(const pandemonium_basis *p_self, const pandemonium_vector3 *p_vector); -pandemonium_basis GDAPI pandemonium_basis_create_looking_at(const pandemonium_vector3 *p_target); +pandemonium_basis GDAPI pandemonium_basis_looking_at(const pandemonium_vector3 *p_target); pandemonium_basis GDAPI pandemonium_basis_looking_at_up(const pandemonium_vector3 *p_target, const pandemonium_vector3 *p_up); -pandemonium_basis GDAPI pandemonium_basis_create_from_scale(const pandemonium_vector3 *p_scale); +pandemonium_basis GDAPI pandemonium_basis_from_scale(const pandemonium_vector3 *p_scale); // p_elements is a pointer to an array of 3 (!!) vector3 void GDAPI pandemonium_basis_get_elements(const pandemonium_basis *p_self, pandemonium_vector3 *p_elements);