fixes the types for Vec3 and Quat in scene example to remove WARN from the logs (#5751)

# Objective
- Fixes #5745.

## Solution
- Changes the Vec3 and Quat types.
This commit is contained in:
Tomasz Galkowski 2022-08-20 19:55:53 +00:00
parent 681c9c6dc8
commit 04538fd802

View File

@ -6,15 +6,15 @@
"type": "bevy_transform::components::transform::Transform", "type": "bevy_transform::components::transform::Transform",
"struct": { "struct": {
"translation": { "translation": {
"type": "glam::vec3::Vec3", "type": "glam::f32::vec3::Vec3",
"value": (0.0, 0.0, 0.0), "value": (0.0, 0.0, 0.0),
}, },
"rotation": { "rotation": {
"type": "glam::quat::Quat", "type": "glam::f32::scalar::quat::Quat",
"value": (0.0, 0.0, 0.0, 1.0), "value": (0.0, 0.0, 0.0, 1.0),
}, },
"scale": { "scale": {
"type": "glam::vec3::Vec3", "type": "glam::f32::vec3::Vec3",
"value": (1.0, 1.0, 1.0), "value": (1.0, 1.0, 1.0),
}, },
}, },