summaryrefslogtreecommitdiff
path: root/core/variant
diff options
context:
space:
mode:
authorYuri Rubinsky <chaosus89@gmail.com>2022-08-23 20:00:26 +0300
committerYuri Rubinsky <chaosus89@gmail.com>2022-08-24 08:30:40 +0300
commite97ece55aa29fe510938dab6af82ef5bb27912d0 (patch)
tree311615e1530caa4663cd3385ffca577e3658c7b9 /core/variant
parent649e76aa389000c0cbda94b92f596f8c3b96b76f (diff)
Add constructor accepting four Vector4's to `Projection`
Diffstat (limited to 'core/variant')
-rw-r--r--core/variant/variant_construct.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/variant/variant_construct.cpp b/core/variant/variant_construct.cpp
index 3a0b6c1bb9..d048f45737 100644
--- a/core/variant/variant_construct.cpp
+++ b/core/variant/variant_construct.cpp
@@ -162,6 +162,7 @@ void Variant::_register_variant_constructors() {
add_constructor<VariantConstructNoArgs<Projection>>(sarray());
add_constructor<VariantConstructor<Projection, Projection>>(sarray("from"));
add_constructor<VariantConstructor<Projection, Transform3D>>(sarray("from"));
+ add_constructor<VariantConstructor<Projection, Vector4, Vector4, Vector4, Vector4>>(sarray("x_axis", "y_axis", "z_axis", "w_axis"));
add_constructor<VariantConstructNoArgs<Color>>(sarray());
add_constructor<VariantConstructor<Color, Color>>(sarray("from"));