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 {
253253
254254impl ops:: Mul < Vec3 > for Matrix {
255255 type Output = Vec3 ;
256-
256+
257257 fn mul ( self , rhs : Vec3 ) -> Self :: Output {
258258 ( & self ) . transform_vec3 ( & rhs)
259259 }
@@ -267,7 +267,6 @@ impl ops::Mul<Point> for Matrix {
267267 }
268268}
269269
270-
271270impl ops:: Mul < Point3D > for Matrix {
272271 type Output = Point3D ;
273272
@@ -276,7 +275,6 @@ impl ops::Mul<Point3D> for Matrix {
276275 }
277276}
278277
279-
280278#[ cfg( test) ]
281279mod tests {
282280 use super :: Matrix ;
Original file line number Diff line number Diff line change @@ -172,4 +172,4 @@ impl ops::MulAssign<Quaternion> for Quaternion {
172172 fn mul_assign ( & mut self , rhs : Quaternion ) {
173173 * self = * self * rhs;
174174 }
175- }
175+ }
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ impl ops::Mul<f32> for Vec2 {
9393 fn mul ( self , rhs : f32 ) -> Self :: Output {
9494 ( & self ) . scale ( rhs)
9595 }
96- }
96+ }
9797impl ops:: MulAssign < f32 > for Vec2 {
9898 fn mul_assign ( & mut self , rhs : f32 ) {
9999 * self = * self * rhs;
@@ -131,4 +131,4 @@ impl ops::DivAssign<Vec2> for Vec2 {
131131 fn div_assign ( & mut self , rhs : Vec2 ) {
132132 * self = * self / rhs;
133133 }
134- }
134+ }
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ impl ops::Mul<f32> for Vec3 {
9494 fn mul ( self , rhs : f32 ) -> Self :: Output {
9595 ( & self ) . scale ( rhs)
9696 }
97- }
97+ }
9898impl ops:: MulAssign < f32 > for Vec3 {
9999 fn mul_assign ( & mut self , rhs : f32 ) {
100100 * self = * self * rhs;
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ impl ops::Mul<f32> for Vec4 {
117117 fn mul ( self , rhs : f32 ) -> Self :: Output {
118118 ( & self ) . scale ( rhs)
119119 }
120- }
120+ }
121121impl ops:: MulAssign < f32 > for Vec4 {
122122 fn mul_assign ( & mut self , rhs : f32 ) {
123123 * self = * self * rhs;
You can’t perform that action at this time.
0 commit comments