/external/rust/crates/glam/src/f32/sse2/ |
D | mat3a.rs | 20 pub const fn mat3a(x_axis: Vec3A, y_axis: Vec3A, z_axis: Vec3A) -> Mat3A { in mat3a() argument 21 Mat3A::from_cols(x_axis, y_axis, z_axis) in mat3a() 50 pub struct Mat3A { struct 56 impl Mat3A { argument 563 impl Default for Mat3A { implementation 570 impl Add<Mat3A> for Mat3A { implementation 578 impl AddAssign<Mat3A> for Mat3A { implementation 585 impl Sub<Mat3A> for Mat3A { implementation 593 impl SubAssign<Mat3A> for Mat3A { implementation 600 impl Neg for Mat3A { implementation [all …]
|
D | mat2.rs | 3 use crate::{swizzles::*, DMat2, Mat3, Mat3A, Vec2}; 126 pub fn from_mat3a(m: Mat3A) -> Self { in from_mat3a()
|
D | quat.rs | 6 DQuat, FloatEx, Mat3, Mat3A, Mat4, Vec2, Vec3, Vec3A, Vec4, 245 pub fn from_mat3a(mat: &Mat3A) -> Self { in from_mat3a()
|
/external/rust/crates/glam/src/f32/scalar/ |
D | mat3a.rs | 15 pub const fn mat3a(x_axis: Vec3A, y_axis: Vec3A, z_axis: Vec3A) -> Mat3A { in mat3a() argument 16 Mat3A::from_cols(x_axis, y_axis, z_axis) in mat3a() 45 pub struct Mat3A { struct 51 impl Mat3A { impl 556 impl Default for Mat3A { implementation 563 impl Add<Mat3A> for Mat3A { implementation 571 impl AddAssign<Mat3A> for Mat3A { implementation 578 impl Sub<Mat3A> for Mat3A { implementation 586 impl SubAssign<Mat3A> for Mat3A { implementation 593 impl Neg for Mat3A { implementation [all …]
|
D | mat2.rs | 3 use crate::{swizzles::*, DMat2, Mat3, Mat3A, Vec2}; 117 pub fn from_mat3a(m: Mat3A) -> Self { in from_mat3a()
|
D | quat.rs | 5 DQuat, FloatEx, Mat3, Mat3A, Mat4, Vec2, Vec3, Vec3A, Vec4, 248 pub fn from_mat3a(mat: &Mat3A) -> Self { in from_mat3a()
|
/external/rust/crates/glam/src/f32/coresimd/ |
D | mat3a.rs | 17 pub const fn mat3a(x_axis: Vec3A, y_axis: Vec3A, z_axis: Vec3A) -> Mat3A { in mat3a() argument 18 Mat3A::from_cols(x_axis, y_axis, z_axis) in mat3a() 47 pub struct Mat3A { struct 53 impl Mat3A { implementation 578 impl Default for Mat3A { implementation 585 impl Add<Mat3A> for Mat3A { implementation 593 impl AddAssign<Mat3A> for Mat3A { implementation 600 impl Sub<Mat3A> for Mat3A { implementation 608 impl SubAssign<Mat3A> for Mat3A { implementation 615 impl Neg for Mat3A { implementation [all …]
|
D | mat2.rs | 3 use crate::{swizzles::*, DMat2, Mat3, Mat3A, Vec2}; 108 pub fn from_mat3a(m: Mat3A) -> Self { in from_mat3a()
|
/external/rust/crates/glam/src/f32/wasm32/ |
D | mat3a.rs | 17 pub const fn mat3a(x_axis: Vec3A, y_axis: Vec3A, z_axis: Vec3A) -> Mat3A { in mat3a() argument 18 Mat3A::from_cols(x_axis, y_axis, z_axis) in mat3a() 47 pub struct Mat3A { struct 53 impl Mat3A { implementation 558 impl Default for Mat3A { implementation 565 impl Add<Mat3A> for Mat3A { implementation 573 impl AddAssign<Mat3A> for Mat3A { implementation 580 impl Sub<Mat3A> for Mat3A { implementation 588 impl SubAssign<Mat3A> for Mat3A { implementation 595 impl Neg for Mat3A { implementation [all …]
|
D | mat2.rs | 3 use crate::{swizzles::*, DMat2, Mat3, Mat3A, Vec2}; 108 pub fn from_mat3a(m: Mat3A) -> Self { in from_mat3a()
|
D | quat.rs | 6 DQuat, FloatEx, Mat3, Mat3A, Mat4, Vec2, Vec3, Vec3A, Vec4, 238 pub fn from_mat3a(mat: &Mat3A) -> Self { in from_mat3a()
|
/external/rust/crates/glam/src/f32/ |
D | affine3a.rs | 3 use crate::{Mat3, Mat3A, Mat4, Quat, Vec3, Vec3A}; 10 pub matrix3: Mat3A, 20 matrix3: Mat3A::ZERO, 28 matrix3: Mat3A::IDENTITY, 34 matrix3: Mat3A::NAN, 42 matrix3: Mat3A::from_cols(x_axis, y_axis, z_axis), in from_cols() 51 matrix3: Mat3A::from_cols_slice(&m[0..9]), 73 matrix3: Mat3A::from_cols(m[0].into(), m[1].into(), m[2].into()), 99 matrix3: Mat3A::from_cols_slice(&slice[0..9]), in from_cols_slice() 120 matrix3: Mat3A::from_diagonal(scale), in from_scale() [all …]
|
D | affine2.rs | 3 use crate::{Mat2, Mat3, Mat3A, Vec2, Vec3A}; 201 pub fn from_mat3a(m: Mat3A) -> Self { in from_mat3a() 371 impl From<Affine2> for Mat3A { implementation 373 fn from(m: Affine2) -> Mat3A { in from() argument 382 impl Mul<Mat3A> for Affine2 { 383 type Output = Mat3A; 386 fn mul(self, rhs: Mat3A) -> Self::Output { in mul() 387 Mat3A::from(self) * rhs in mul() 391 impl Mul<Affine2> for Mat3A { implementation 392 type Output = Mat3A; [all …]
|
D | mat3.rs | 3 use crate::{swizzles::*, DMat3, EulerRot, Mat2, Mat3A, Mat4, Quat, Vec2, Vec3, Vec3A}; 651 impl From<Mat3A> for Mat3 { 653 fn from(m: Mat3A) -> Self { in from()
|
/external/rust/crates/glam/benches/ |
D | support.rs | 3 use glam::{Mat2, Mat3, Mat3A, Mat4, Quat, Vec2, Vec3, Vec3A, Vec4}; 113 pub fn random_mat3a(rng: &mut PCG32) -> Mat3A { in random_mat3a() argument 114 Mat3A::from_cols(random_vec3a(rng), random_vec3a(rng), random_vec3a(rng)) in random_mat3a() 117 pub fn random_srt_mat3a(rng: &mut PCG32) -> Mat3A { in random_srt_mat3a() argument 118 Mat3A::from_scale_angle_translation( in random_srt_mat3a()
|
D | mat3a.rs | 7 use glam::Mat3A; 25 bench_from_ypr!(mat3a_from_ypr, "mat3a from ypr", ty => Mat3A);
|
/external/rust/crates/glam/src/features/ |
D | impl_mint.rs | 4 DMat2, DMat3, DMat4, DQuat, DVec2, DVec3, DVec4, IVec2, IVec3, IVec4, Mat2, Mat3, Mat3A, Mat4, 273 impl From<mint::RowMatrix3<f32>> for Mat3A { implementation 279 impl From<Mat3A> for mint::RowMatrix3<f32> { 280 fn from(m: Mat3A) -> Self { in from() 290 impl From<mint::ColumnMatrix3<f32>> for Mat3A { implementation 296 impl From<Mat3A> for mint::ColumnMatrix3<f32> { 297 fn from(m: Mat3A) -> Self { in from() 306 impl IntoMint for Mat3A { implementation 484 use crate::Mat3A; in test_mat3a_col_major() 490 let expected = Mat3A::from_cols( in test_mat3a_col_major() [all …]
|
D | impl_rkyv.rs | 63 use crate::{Affine2, Affine3A, Mat2, Mat3, Mat3A, Mat4, Quat, Vec2, Vec3, Vec3A, Vec4}; 69 impl_rkyv!(Mat3A); 140 use crate::{Affine2, Affine3A, Mat2, Mat3, Mat3A, Mat4, Quat, Vec2, Vec3, Vec3A, Vec4}; in test_rkyv() 149 test_archive(&Mat3A::from_cols_array(&[ in test_rkyv()
|
D | impl_approx.rs | 3 Mat3, Mat3A, Mat4, Quat, Vec2, Vec3, Vec3A, Vec4, 145 impl_approx_xzy_axes!(f32, Mat3A); 200 impl_approx_test!(f32, Mat3A, Mat3A::from_cols_slice(&ONESF32)); in test_approx()
|
/external/rust/crates/glam/src/ |
D | f32.rs | 61 pub use mat3a::{mat3a, Mat3A}; 108 const_assert_eq!(16, core::mem::align_of::<super::Mat3A>()); 109 const_assert_eq!(48, core::mem::size_of::<super::Mat3A>());
|
/external/rust/crates/glam/tests/ |
D | mat3.rs | 411 use glam::{mat3a, swizzles::*, vec3a, Mat2, Mat3A, Mat4, Quat, Vec2, Vec3, Vec3A}; 415 assert_eq!(48, mem::size_of::<Mat3A>()); 416 assert_eq!(mem::align_of::<Vec3A>(), mem::align_of::<Mat3A>()); 420 let mat_a = Mat3A::from_axis_angle(Vec3::Z, deg(90.0)); 429 Mat3A::from_cols_array(&[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0]).as_dmat3() 433 impl_mat3_tests!(f32, mat3a, Mat3A, Mat2, Mat4, Quat, vec3a, Vec3, Vec2);
|
D | affine2.rs | 232 use glam::Mat3A; 233 let m = Mat3A::from_cols_array_2d(&[[1.0, 2.0, 0.0], [3.0, 4.0, 0.0], [5.0, 6.0, 1.0]]); 237 assert_eq!(m, Mat3A::from(a));
|
D | support.rs | 9 DMat2, DMat3, DMat4, DQuat, DVec2, DVec3, DVec4, Mat2, Mat3, Mat3A, Mat4, Quat, Vec2, Vec3, 118 impl FloatCompare for Mat3A { implementation
|
D | mat2.rs | 256 use glam::Mat3A; 257 let m3 = Mat3A::from_cols_array_2d(&[[1.0, 2.0, 3.0], [4.0, 5.0, 6.0], [7.0, 8.0, 9.0]]);
|
/external/rust/crates/glam/ |
D | README.md | 18 * square matrices: `Mat2`, `Mat3`, `Mat3A` and `Mat4` 35 The `Vec3A`, `Vec4`, `Quat`, `Mat2`, `Mat3A`, `Mat4`, `Affine2` and `Affine3A` 40 `Mat3A`, `Affine2` and `Affine3A`. However, the use of SIMD generally results
|