Replace Quaternion Euler constructor with from_euler method

This commit is contained in:
Aaron Franke 2022-11-01 08:11:09 -05:00
parent e6751549cf
commit 83634119d4
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
11 changed files with 68 additions and 65 deletions

View file

@ -141,7 +141,6 @@ void Variant::_register_variant_constructors() {
add_constructor<VariantConstructor<Quaternion, Vector3, double>>(sarray("axis", "angle"));
add_constructor<VariantConstructor<Quaternion, Vector3, Vector3>>(sarray("arc_from", "arc_to"));
add_constructor<VariantConstructor<Quaternion, double, double, double, double>>(sarray("x", "y", "z", "w"));
add_constructor<VariantConstructor<Quaternion, Vector3>>(sarray("euler_yxz"));
add_constructor<VariantConstructNoArgs<::AABB>>(sarray());
add_constructor<VariantConstructor<::AABB, ::AABB>>(sarray("from"));