Skip to content

Commit

Permalink
fixes the types for Vec3 and Quat in scene example to remove WARN fro…
Browse files Browse the repository at this point in the history
…m the logs (bevyengine#5751)

# Objective
- Fixes bevyengine#5745.

## Solution
- Changes the Vec3 and Quat types.
  • Loading branch information
tkgalk authored and maccesch committed Sep 28, 2022
1 parent db588df commit 4d2d7ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/scenes/load_scene_example.scn.ron
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"type": "bevy_transform::components::transform::Transform",
"struct": {
"translation": {
"type": "glam::vec3::Vec3",
"type": "glam::f32::vec3::Vec3",
"value": (0.0, 0.0, 0.0),
},
"rotation": {
"type": "glam::quat::Quat",
"type": "glam::f32::scalar::quat::Quat",
"value": (0.0, 0.0, 0.0, 1.0),
},
"scale": {
"type": "glam::vec3::Vec3",
"type": "glam::f32::vec3::Vec3",
"value": (1.0, 1.0, 1.0),
},
},
Expand Down

0 comments on commit 4d2d7ab

Please sign in to comment.