/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/features/ |
D | impl_rkyv.rs | 177 test_archive(&Affine2::from_cols_array(&[1.0, 0.0, 2.0, 0.0, 3.0, 4.0])); in test_rkyv() 178 test_archive(&Affine3A::from_cols_array(&[ in test_rkyv() 181 test_archive(&Mat2::from_cols_array(&[1.0, 2.0, 3.0, 4.0])); in test_rkyv() 182 test_archive(&Mat3::from_cols_array(&[ in test_rkyv() 185 test_archive(&Mat3A::from_cols_array(&[ in test_rkyv() 188 test_archive(&Mat4::from_cols_array(&[ in test_rkyv() 198 test_archive(&DAffine2::from_cols_array(&[1.0, 0.0, 2.0, 0.0, 3.0, 4.0])); in test_rkyv() 199 test_archive(&DAffine3::from_cols_array(&[ in test_rkyv() 202 test_archive(&DMat2::from_cols_array(&[1.0, 2.0, 3.0, 4.0])); in test_rkyv() 203 test_archive(&DMat3::from_cols_array(&[ in test_rkyv() [all …]
|
D | impl_rand.rs | 66 $mat2::from_cols_array(&rng.gen()) 73 $mat3::from_cols_array(&rng.gen()) 80 $mat4::from_cols_array(&rng.gen()) 99 let a = $mat2::from_cols_array(&rng1.gen::<[$t; 4]>()); 110 let a = $mat3::from_cols_array(&rng1.gen::<[$t; 9]>()); 121 let a = $mat4::from_cols_array(&rng1.gen::<[$t; 16]>());
|
D | impl_serde.rs | 327 Ok($mat2::from_cols_array(&f)) 337 let a = $mat2::from_cols_array(&[1.0, 2.0, 3.0, 4.0]); 410 Ok($mat3::from_cols_array(&f)) 420 let a = $mat3::from_cols_array(&[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0]); 481 Ok($mat4::from_cols_array(&f)) 491 let a = $mat4::from_cols_array(&[ 566 Ok($affine2::from_cols_array(&f)) 576 let a = $affine2::from_cols_array(&[1.0, 0.0, 2.0, 0.0, 3.0, 4.0]); 651 Ok($affine3::from_cols_array(&f)) 661 let a = $affine3::from_cols_array(&[
|
/aosp_15_r20/external/rust/android-crates-io/crates/glam/tests/ |
D | mat2.rs | 14 const M1: $mat2 = $mat2::from_cols_array(&MATRIX1D); 23 assert_eq!($mat2::IDENTITY, $mat2::from_cols_array(&[1., 0., 0., 1.])); 33 assert_eq!($mat2::ZERO, $mat2::from_cols_array(&[0., 0., 0., 0.])); 76 let f = $mat2::from_cols_array(&d); 131 $mat2::from_cols_array(&[1.0, 2.0, 3.0, 4.0]).determinant() 194 assert_eq!($mat2::from_cols_array(&MATRIX1D), m); 265 DMat2::from_cols_array(&[1.0, 2.0, 3.0, 4.0]), 266 Mat2::from_cols_array(&[1.0, 2.0, 3.0, 4.0]).as_dmat2() 269 Mat2::from_cols_array(&[1.0, 2.0, 3.0, 4.0]), 270 DMat2::from_cols_array(&[1.0, 2.0, 3.0, 4.0]).as_mat2()
|
D | mat3.rs | 22 const M1: $mat3 = $mat3::from_cols_array(&MATRIX1D); 33 $mat3::from_cols_array(&[ 50 $mat3::from_cols_array(&[0., 0., 0., 0., 0., 0., 0., 0., 0.]) 108 let f = $mat3::from_cols_array(&d); 333 assert_eq!($mat3::from_cols_array(&MATRIX1D), m); 396 DMat3::from_cols_array(&[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0]), 397 Mat3::from_cols_array(&[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0]).as_dmat3() 400 Mat3::from_cols_array(&[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0]), 401 DMat3::from_cols_array(&[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0]).as_mat3() 428 DMat3::from_cols_array(&[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0]), [all …]
|
D | mat4.rs | 34 const M1: $mat4 = $mat4::from_cols_array(&MATRIX1D); 45 $mat4::from_cols_array(&[ 63 $mat4::from_cols_array(&[ 139 let f = $mat4::from_cols_array(&d); 639 assert_eq!($mat4::from_cols_array(&MATRIX1D), m);
|
D | affine2.rs | 37 let a = $affine2::from_cols_array(&MATRIX1D); 239 assert_eq!($affine2::from_cols_array(&MATRIX1D), m);
|
D | affine3.rs | 45 let a = $affine3::from_cols_array(&MATRIX1D); 316 assert_eq!($affine3::from_cols_array(&MATRIX1D), m);
|
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/f64/ |
D | daffine2.rs | 51 pub fn from_cols_array(m: &[f64; 6]) -> Self { in from_cols_array() method
|
D | dmat2.rs | 57 pub const fn from_cols_array(m: &[f64; 4]) -> Self { in from_cols_array() method
|
D | daffine3.rs | 51 pub fn from_cols_array(m: &[f64; 12]) -> Self { in from_cols_array() method
|
D | dmat3.rs | 95 pub const fn from_cols_array(m: &[f64; 9]) -> Self { in from_cols_array() method
|
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/f32/ |
D | affine2.rs | 51 pub fn from_cols_array(m: &[f32; 6]) -> Self { in from_cols_array() method
|
D | affine3a.rs | 53 pub fn from_cols_array(m: &[f32; 12]) -> Self { in from_cols_array() method
|
D | mat3.rs | 95 pub const fn from_cols_array(m: &[f32; 9]) -> Self { in from_cols_array() method
|
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/f32/scalar/ |
D | mat2.rs | 61 pub const fn from_cols_array(m: &[f32; 4]) -> Self { in from_cols_array() method
|
D | mat3a.rs | 95 pub const fn from_cols_array(m: &[f32; 9]) -> Self { in from_cols_array() method
|
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/f32/coresimd/ |
D | mat2.rs | 56 pub const fn from_cols_array(m: &[f32; 4]) -> Self { in from_cols_array() method
|
D | mat3a.rs | 97 pub const fn from_cols_array(m: &[f32; 9]) -> Self { in from_cols_array() method
|
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/f32/sse2/ |
D | mat2.rs | 75 pub const fn from_cols_array(m: &[f32; 4]) -> Self { in from_cols_array() method
|
D | mat3a.rs | 100 pub const fn from_cols_array(m: &[f32; 9]) -> Self { in from_cols_array() method
|
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/f32/wasm32/ |
D | mat2.rs | 56 pub const fn from_cols_array(m: &[f32; 4]) -> Self { in from_cols_array() method
|
D | mat3a.rs | 97 pub const fn from_cols_array(m: &[f32; 9]) -> Self { in from_cols_array() method
|
D | mat4.rs | 114 pub const fn from_cols_array(m: &[f32; 16]) -> Self { in from_cols_array() method
|
/aosp_15_r20/external/rust/android-crates-io/crates/glam/ |
D | CHANGELOG.md | 243 * `from_cols`, `from_cols_array`, `from_cols_array_2d`, `from_cols_slice` on 445 slices, including `from_cols_array()`, `to_cols_array()`, 924 `from_cols_array` and `from_cols_array_2d`.
|