fix: update to new transform

This commit is contained in:
Nova
2022-12-17 02:34:56 -05:00
parent 176889bd2b
commit c8d7fa725f
3 changed files with 21 additions and 24 deletions

View File

@@ -41,10 +41,7 @@ impl ProtoStar {
.unwrap();
let icon = Model::create(
grabbable.content_parent(),
Transform {
scale: Vector3::from([size; 3]),
..Default::default()
},
Transform::from_scale([size; 3]),
&icon,
)
.unwrap();