File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ fn setup(
19
19
sprite : Sprite {
20
20
color : Color :: rgb ( 0.25 , 0.25 , 0.75 ) ,
21
21
custom_size : Some ( Vec2 :: new ( 50.0 , 100.0 ) ) ,
22
- ..Default :: default ( )
22
+ ..default ( )
23
23
} ,
24
- ..Default :: default ( )
24
+ ..default ( )
25
25
} ) ;
26
26
27
27
// Circle
@@ -30,7 +30,7 @@ fn setup(
30
30
material : materials. add ( ColorMaterial :: from ( Color :: PURPLE ) ) ,
31
31
transform : Transform :: from_translation ( Vec3 :: new ( -100. , 0. , 0. ) )
32
32
. with_scale ( Vec2 :: splat ( 100.0 ) . extend ( 1. ) ) ,
33
- ..Default :: default ( )
33
+ ..default ( )
34
34
} ) ;
35
35
36
36
// Hexagon
@@ -39,14 +39,14 @@ fn setup(
39
39
. add (
40
40
shape:: RegularPolygon {
41
41
sides : 6 ,
42
- ..Default :: default ( )
42
+ ..default ( )
43
43
}
44
44
. into ( ) ,
45
45
)
46
46
. into ( ) ,
47
47
material : materials. add ( ColorMaterial :: from ( Color :: TURQUOISE ) ) ,
48
48
transform : Transform :: from_translation ( Vec3 :: new ( 100. , 0. , 0. ) )
49
49
. with_scale ( Vec2 :: splat ( 100.0 ) . extend ( 1. ) ) ,
50
- ..Default :: default ( )
50
+ ..default ( )
51
51
} ) ;
52
52
}
You can’t perform that action at this time.
0 commit comments