File tree Expand file tree Collapse file tree 5 files changed +6
-8
lines changed Expand file tree Collapse file tree 5 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ impl ops::Mul<Vec4> for Matrix {
253
253
254
254
impl ops:: Mul < Vec3 > for Matrix {
255
255
type Output = Vec3 ;
256
-
256
+
257
257
fn mul ( self , rhs : Vec3 ) -> Self :: Output {
258
258
( & self ) . transform_vec3 ( & rhs)
259
259
}
@@ -267,7 +267,6 @@ impl ops::Mul<Point> for Matrix {
267
267
}
268
268
}
269
269
270
-
271
270
impl ops:: Mul < Point3D > for Matrix {
272
271
type Output = Point3D ;
273
272
@@ -276,7 +275,6 @@ impl ops::Mul<Point3D> for Matrix {
276
275
}
277
276
}
278
277
279
-
280
278
#[ cfg( test) ]
281
279
mod tests {
282
280
use super :: Matrix ;
Original file line number Diff line number Diff line change @@ -172,4 +172,4 @@ impl ops::MulAssign<Quaternion> for Quaternion {
172
172
fn mul_assign ( & mut self , rhs : Quaternion ) {
173
173
* self = * self * rhs;
174
174
}
175
- }
175
+ }
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ impl ops::Mul<f32> for Vec2 {
93
93
fn mul ( self , rhs : f32 ) -> Self :: Output {
94
94
( & self ) . scale ( rhs)
95
95
}
96
- }
96
+ }
97
97
impl ops:: MulAssign < f32 > for Vec2 {
98
98
fn mul_assign ( & mut self , rhs : f32 ) {
99
99
* self = * self * rhs;
@@ -131,4 +131,4 @@ impl ops::DivAssign<Vec2> for Vec2 {
131
131
fn div_assign ( & mut self , rhs : Vec2 ) {
132
132
* self = * self / rhs;
133
133
}
134
- }
134
+ }
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ impl ops::Mul<f32> for Vec3 {
94
94
fn mul ( self , rhs : f32 ) -> Self :: Output {
95
95
( & self ) . scale ( rhs)
96
96
}
97
- }
97
+ }
98
98
impl ops:: MulAssign < f32 > for Vec3 {
99
99
fn mul_assign ( & mut self , rhs : f32 ) {
100
100
* self = * self * rhs;
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ impl ops::Mul<f32> for Vec4 {
117
117
fn mul ( self , rhs : f32 ) -> Self :: Output {
118
118
( & self ) . scale ( rhs)
119
119
}
120
- }
120
+ }
121
121
impl ops:: MulAssign < f32 > for Vec4 {
122
122
fn mul_assign ( & mut self , rhs : f32 ) {
123
123
* self = * self * rhs;
You can’t perform that action at this time.
0 commit comments