Fix warning in scene example (#1441)

I noticed the following error when trying out the `scene` example

```bash
Feb 13 22:11:13.997  WARN bevy_asset::asset_server: encountered an error while loading an asset: No registration found for glam::f32::vec3::Vec3
```

This PR fixes the error and makes the scene file load correctly
This commit is contained in:
Anders Rasmussen 2021-02-22 03:59:36 +00:00
parent cd688d7a41
commit 9bf80a8566

View file

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