Home
last modified time | relevance | path

Searched refs:Mat3A (Results 1 – 25 of 34) sorted by relevance

12

/external/rust/crates/glam/src/f32/sse2/
Dmat3a.rs20 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 …]
Dmat2.rs3 use crate::{swizzles::*, DMat2, Mat3, Mat3A, Vec2};
126 pub fn from_mat3a(m: Mat3A) -> Self { in from_mat3a()
Dquat.rs6 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/
Dmat3a.rs15 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 { argument
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 …]
Dmat2.rs3 use crate::{swizzles::*, DMat2, Mat3, Mat3A, Vec2};
117 pub fn from_mat3a(m: Mat3A) -> Self { in from_mat3a()
Dquat.rs5 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/
Dmat3a.rs17 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 …]
Dmat2.rs3 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/
Dmat3a.rs17 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 …]
Dmat2.rs3 use crate::{swizzles::*, DMat2, Mat3, Mat3A, Vec2};
108 pub fn from_mat3a(m: Mat3A) -> Self { in from_mat3a()
Dquat.rs6 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/
Daffine3a.rs3 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 …]
Daffine2.rs3 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 …]
Dmat3.rs3 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/
Dsupport.rs3 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()
Dmat3a.rs7 use glam::Mat3A;
25 bench_from_ypr!(mat3a_from_ypr, "mat3a from ypr", ty => Mat3A);
/external/rust/crates/glam/src/features/
Dimpl_mint.rs4 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 …]
Dimpl_rkyv.rs63 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()
Dimpl_approx.rs3 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/
Df32.rs61 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/
Dmat3.rs411 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);
Daffine2.rs232 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));
Dsupport.rs9 DMat2, DMat3, DMat4, DQuat, DVec2, DVec3, DVec4, Mat2, Mat3, Mat3A, Mat4, Quat, Vec2, Vec3,
118 impl FloatCompare for Mat3A { implementation
Dmat2.rs256 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/
DREADME.md18 * 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

12