@@ -733,11 +733,14 @@ pub mod matrix3 {
733733 let up = Vector3 :: unit_y ( ) ;
734734 let m = Matrix3 :: look_to_lh ( dir, up) ;
735735
736- assert_ulps_eq ! ( m, Matrix3 :: from( [
737- [ 0.9486833 , -0.16903085 , 0.26726127 ] ,
738- [ 0.0 , 0.8451542 , 0.53452253 ] ,
739- [ -0.31622776 , -0.50709254 , 0.8017838_f32 ]
740- ] ) ) ;
736+ assert_ulps_eq ! (
737+ m,
738+ Matrix3 :: from( [
739+ [ 0.9486833 , -0.16903085 , 0.26726127 ] ,
740+ [ 0.0 , 0.8451542 , 0.53452253 ] ,
741+ [ -0.31622776 , -0.50709254 , 0.8017838_f32 ]
742+ ] )
743+ ) ;
741744
742745 #[ allow( deprecated) ]
743746 {
@@ -751,11 +754,14 @@ pub mod matrix3 {
751754 let up = Vector3 :: unit_y ( ) ;
752755 let m = Matrix3 :: look_to_rh ( dir, up) ;
753756
754- assert_ulps_eq ! ( m, Matrix3 :: from( [
755- [ -0.9486833 , -0.16903085 , -0.26726127 ] ,
756- [ 0.0 , 0.8451542 , -0.53452253 ] ,
757- [ 0.31622776 , -0.50709254 , -0.8017838_f32 ]
758- ] ) ) ;
757+ assert_ulps_eq ! (
758+ m,
759+ Matrix3 :: from( [
760+ [ -0.9486833 , -0.16903085 , -0.26726127 ] ,
761+ [ 0.0 , 0.8451542 , -0.53452253 ] ,
762+ [ 0.31622776 , -0.50709254 , -0.8017838_f32 ]
763+ ] )
764+ ) ;
759765 }
760766}
761767
@@ -1174,7 +1180,7 @@ pub mod matrix4 {
11741180 [ -0.9486833 , -0.16903086 , -0.26726127 , 0.0 ] ,
11751181 [ 0.0 , 0.84515435 , -0.53452253 , 0.0 ] ,
11761182 [ 0.31622776 , -0.5070926 , -0.8017838 , 0.0 ] ,
1177- [ 3.1622782 , -0.84515476 , 26.726126 , 1.0_f32 ]
1183+ [ 3.1622782 , -0.84515476 , 26.726126 , 1.0_f32 ] ,
11781184 ] ) ;
11791185 assert_ulps_eq ! ( expected, m) ;
11801186
@@ -1194,7 +1200,7 @@ pub mod matrix4 {
11941200 [ 0.9486833 , -0.16903086 , 0.26726127 , 0.0 ] ,
11951201 [ 0.0 , 0.84515435 , 0.53452253 , 0.0 ] ,
11961202 [ -0.31622776 , -0.5070926 , 0.8017838 , 0.0 ] ,
1197- [ -3.1622782 , -0.84515476 , -26.726126 , 1.0_f32 ]
1203+ [ -3.1622782 , -0.84515476 , -26.726126 , 1.0_f32 ] ,
11981204 ] ) ;
11991205 assert_ulps_eq ! ( expected, m) ;
12001206
0 commit comments