File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ pub trait Alpha: Sized {
60
60
/// Return a new version of this color with the given alpha value.
61
61
fn with_alpha ( & self , alpha : f32 ) -> Self ;
62
62
63
- /// Return a the alpha component of this color.
63
+ /// Return the alpha component of this color.
64
64
fn alpha ( & self ) -> f32 ;
65
65
66
66
/// Sets the alpha component of this color.
Original file line number Diff line number Diff line change @@ -152,15 +152,15 @@ pub struct Cancel {
152
152
pub hit : HitData ,
153
153
}
154
154
155
- /// Fires when a the pointer crosses into the bounds of the `target` entity.
155
+ /// Fires when a pointer crosses into the bounds of the `target` entity.
156
156
#[ derive( Clone , PartialEq , Debug , Reflect ) ]
157
157
#[ reflect( Clone , PartialEq ) ]
158
158
pub struct Over {
159
159
/// Information about the picking intersection.
160
160
pub hit : HitData ,
161
161
}
162
162
163
- /// Fires when a the pointer crosses out of the bounds of the `target` entity.
163
+ /// Fires when a pointer crosses out of the bounds of the `target` entity.
164
164
#[ derive( Clone , PartialEq , Debug , Reflect ) ]
165
165
#[ reflect( Clone , PartialEq ) ]
166
166
pub struct Out {
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ fn rotate_cube(
113
113
// Calculate the rotation of the cube if it would be looking at the sphere in the center.
114
114
let look_at_sphere = transform. looking_at ( center, * transform. local_y ( ) ) ;
115
115
// Interpolate between the current rotation and the fully turned rotation
116
- // when looking a the sphere, with a given turn speed to get a smooth motion.
116
+ // when looking at the sphere, with a given turn speed to get a smooth motion.
117
117
// With higher speed the curvature of the orbit would be smaller.
118
118
let incremental_turn_weight = cube. turn_speed * timer. delta_secs ( ) ;
119
119
let old_rotation = transform. rotation ;
You can’t perform that action at this time.
0 commit comments