mirror of
https://github.com/Relintai/gdnative.git
synced 2024-11-10 00:52:11 +01:00
Added a new constructor to Projection.
This commit is contained in:
parent
f780ad3a18
commit
5a372f9a17
@ -366,6 +366,11 @@ pandemonium_real GDAPI pandemonium_projection_get_lod_multiplier(const pandemoni
|
||||
return self->get_lod_multiplier();
|
||||
}
|
||||
|
||||
void GDAPI pandemonium_projection_new_identity(pandemonium_projection *r_dest) {
|
||||
Projection *dest = (Projection *)r_dest;
|
||||
*dest = Projection();
|
||||
}
|
||||
|
||||
void GDAPI pandemonium_projection_new_vector4s(pandemonium_projection *r_dest, const pandemonium_vector4 *p_x, const pandemonium_vector4 *p_y, const pandemonium_vector4 *p_z, const pandemonium_vector4 *p_w) {
|
||||
const Vector4 *x = (const Vector4 *)p_x;
|
||||
const Vector4 *y = (const Vector4 *)p_y;
|
||||
|
@ -3620,6 +3620,13 @@
|
||||
["const pandemonium_projection *", "p_self"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "pandemonium_projection_new_identity",
|
||||
"return_type": "void",
|
||||
"arguments": [
|
||||
["pandemonium_projection *", "r_dest"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "pandemonium_projection_new_vector4s",
|
||||
"return_type": "void",
|
||||
|
@ -154,6 +154,7 @@ pandemonium_bool GDAPI pandemonium_projection_operator_equal(const pandemonium_p
|
||||
|
||||
pandemonium_real GDAPI pandemonium_projection_get_lod_multiplier(const pandemonium_projection *p_self);
|
||||
|
||||
void GDAPI pandemonium_projection_new_identity(pandemonium_projection *r_dest);
|
||||
void GDAPI pandemonium_projection_new_vector4s(pandemonium_projection *r_dest, const pandemonium_vector4 *p_x, const pandemonium_vector4 *p_y, const pandemonium_vector4 *p_z, const pandemonium_vector4 *p_w);
|
||||
void GDAPI pandemonium_projection_new_from_projection(pandemonium_projection *r_dest, const pandemonium_projection *p_projection);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user