Skip to content

Commit f53459b

Browse files
committed
Implement missing FromVariant and ToVariant for Quaternion
1 parent c169522 commit f53459b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

godot-core/src/builtin/variant/impls.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ mod impls {
149149
impl_variant_traits!(Vector4, vector4_to_variant, vector4_from_variant, Vector4);
150150
impl_variant_traits!(Vector2i, vector2i_to_variant, vector2i_from_variant, Vector2i);
151151
impl_variant_traits!(Vector3i, vector3i_to_variant, vector3i_from_variant, Vector3i);
152+
impl_variant_traits!(Quaternion, quaternion_to_variant, quaternion_from_variant, Quaternion);
152153
impl_variant_traits!(Color, color_to_variant, color_from_variant, Color);
153154
impl_variant_traits!(GodotString, string_to_variant, string_from_variant, String);
154155
impl_variant_traits!(StringName, string_name_to_variant, string_name_from_variant, StringName);
@@ -157,7 +158,6 @@ mod impls {
157158
impl_variant_metadata!(Rect2, /* rect2_to_variant, rect2_from_variant, */ Rect2);
158159
impl_variant_metadata!(Rect2i, /* rect2i_to_variant, rect2i_from_variant, */ Rect2i);
159160
impl_variant_metadata!(Plane, /* plane_to_variant, plane_from_variant, */ Plane);
160-
impl_variant_metadata!(Quaternion, /* quaternion_to_variant, quaternion_from_variant, */ Quaternion);
161161
impl_variant_metadata!(Aabb, /* aabb_to_variant, aabb_from_variant, */ Aabb);
162162
impl_variant_metadata!(Rid, /* rid_to_variant, rid_from_variant, */ Rid);
163163
impl_variant_metadata!(Callable, /* callable_to_variant, callable_from_variant, */ Callable);

0 commit comments

Comments
 (0)