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 (#5751)

# Objective
- Fixes #5745.

## Solution
- Changes the Vec3 and Quat types.
  • Loading branch information
tkgalk committed Aug 20, 2022
1 parent 681c9c6 commit 04538fd
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 04538fd

Please sign in to comment.