Home
last modified time | relevance | path

Searched refs:from_translation (Results 1 – 21 of 21) sorted by relevance

/external/rust/crates/glam/tests/
Daffine2.rs77 let translate = $affine2::from_translation($vec2::new(1.0, 2.0));
123 let trans = $affine2::from_translation($vec2::new(1.0, 2.0));
Daffine3.rs92 let translate = $affine3::from_translation($vec3::new(1.0, 2.0, 3.0));
167 let trans = $affine3::from_translation($vec3::new(1.0, 2.0, 3.0));
Dmat4.rs144 let translate = $mat4::from_translation($newvec3(1.0, 2.0, 3.0));
315 let trans = $mat4::from_translation($newvec3(1.0, 2.0, 3.0));
Dmat3.rs145 let m = $mat3::from_translation($vec2::new(2.0, 4.0));
/external/rust/crates/glam/src/f64/
Ddaffine2.rs134 pub fn from_translation(translation: DVec2) -> Self { in from_translation() method
Ddaffine3.rs175 pub fn from_translation(translation: DVec3) -> Self { in from_translation() method
Ddmat3.rs253 pub fn from_translation(translation: DVec2) -> Self { in from_translation() method
Ddmat4.rs306 pub fn from_translation(translation: DVec3) -> Self { in from_translation() method
/external/rust/crates/glam/src/f32/
Daffine2.rs134 pub fn from_translation(translation: Vec2) -> Self { in from_translation() method
Daffine3a.rs175 pub fn from_translation(translation: Vec3) -> Self { in from_translation() method
Dmat3.rs253 pub fn from_translation(translation: Vec2) -> Self { in from_translation() method
/external/rust/crates/plotters/src/style/font/
Dttf.rs272 Transform2F::from_translation(Vector2F::new(0.0, em as f32)), in draw()
/external/rust/crates/glam/src/f32/sse2/
Dmat3a.rs255 pub fn from_translation(translation: Vec2) -> Self { in from_translation() method
Dmat4.rs313 pub fn from_translation(translation: Vec3) -> Self { in from_translation() method
/external/rust/crates/glam/src/f32/scalar/
Dmat3a.rs253 pub fn from_translation(translation: Vec2) -> Self { in from_translation() method
Dmat4.rs323 pub fn from_translation(translation: Vec3) -> Self { in from_translation() method
/external/rust/crates/glam/src/f32/coresimd/
Dmat3a.rs252 pub fn from_translation(translation: Vec2) -> Self { in from_translation() method
Dmat4.rs310 pub fn from_translation(translation: Vec3) -> Self { in from_translation() method
/external/rust/crates/glam/src/f32/wasm32/
Dmat3a.rs252 pub fn from_translation(translation: Vec2) -> Self { in from_translation() method
Dmat4.rs310 pub fn from_translation(translation: Vec3) -> Self { in from_translation() method
/external/rust/crates/glam/
DCHANGELOG.md475 * Added `from_translation()` and `from_angle()` methods to 3x3 matrix types.