Home
last modified time | relevance | path

Searched refs:from_cols_array (Results 1 – 25 of 29) sorted by relevance

12

/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/features/
Dimpl_rkyv.rs177 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 …]
Dimpl_rand.rs66 $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]>());
Dimpl_serde.rs327 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/
Dmat2.rs14 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()
Dmat3.rs22 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 …]
Dmat4.rs34 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);
Daffine2.rs37 let a = $affine2::from_cols_array(&MATRIX1D);
239 assert_eq!($affine2::from_cols_array(&MATRIX1D), m);
Daffine3.rs45 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/
Ddaffine2.rs51 pub fn from_cols_array(m: &[f64; 6]) -> Self { in from_cols_array() method
Ddmat2.rs57 pub const fn from_cols_array(m: &[f64; 4]) -> Self { in from_cols_array() method
Ddaffine3.rs51 pub fn from_cols_array(m: &[f64; 12]) -> Self { in from_cols_array() method
Ddmat3.rs95 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/
Daffine2.rs51 pub fn from_cols_array(m: &[f32; 6]) -> Self { in from_cols_array() method
Daffine3a.rs53 pub fn from_cols_array(m: &[f32; 12]) -> Self { in from_cols_array() method
Dmat3.rs95 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/
Dmat2.rs61 pub const fn from_cols_array(m: &[f32; 4]) -> Self { in from_cols_array() method
Dmat3a.rs95 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/
Dmat2.rs56 pub const fn from_cols_array(m: &[f32; 4]) -> Self { in from_cols_array() method
Dmat3a.rs97 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/
Dmat2.rs75 pub const fn from_cols_array(m: &[f32; 4]) -> Self { in from_cols_array() method
Dmat3a.rs100 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/
Dmat2.rs56 pub const fn from_cols_array(m: &[f32; 4]) -> Self { in from_cols_array() method
Dmat3a.rs97 pub const fn from_cols_array(m: &[f32; 9]) -> Self { in from_cols_array() method
Dmat4.rs114 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/
DCHANGELOG.md243 * `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`.

12