Undo unecessary breaking change to gdnative.

This commit is contained in:
Relintai 2024-09-30 16:26:52 +02:00
parent ee1e40f1b0
commit 6ac0c2bbc0
3 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -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"]

View File

@ -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);