Home
last modified time | relevance | path

Searched refs:from_scale (Results 1 – 20 of 20) sorted by relevance

/external/rust/crates/glam/tests/
Daffine2.rs107 let m = $affine2::from_scale($vec2::new(2.0, 4.0));
128 let scale = $affine2::from_scale($vec2::new(4.0, 5.0));
141 * $affine2::from_scale($vec2::new(1.0, 0.5))
191 assert!($affine2::from_scale($vec2::new(1.0, 1.0)).is_finite());
192 assert!($affine2::from_scale($vec2::new(0.0, 1.0)).is_finite());
193 assert!(!$affine2::from_scale($vec2::new(1.0, NAN)).is_finite());
194 assert!(!$affine2::from_scale($vec2::new(1.0, NEG_INFINITY)).is_finite());
Daffine3.rs151 let m = $affine3::from_scale($vec3::new(2.0, 4.0, 8.0));
172 let scale = $affine3::from_scale($vec3::new(4.0, 5.0, 6.0));
185 * $affine3::from_scale($vec3::new(1.0, 0.5, 2.0))
341 assert!($affine3::from_scale($vec3::new(1.0, 1.0, 1.0)).is_finite());
342 assert!($affine3::from_scale($vec3::new(0.0, 1.0, 1.0)).is_finite());
343 assert!(!$affine3::from_scale($vec3::new(1.0, NAN, 1.0)).is_finite());
344 assert!(!$affine3::from_scale($vec3::new(1.0, 1.0, NEG_INFINITY)).is_finite());
Dmat4.rs253 let m = $mat4::from_scale($vec3::new(2.0, 4.0, 8.0));
263 should_glam_assert!({ $mat4::from_scale($vec3::ZERO) });
288 $mat4::from_scale($newvec3(2.0, 2.0, 2.0)).determinant()
322 let scale = $mat4::from_scale($newvec3(4.0, 5.0, 6.0));
Dmat3.rs154 let m = $mat3::from_scale($vec2::new(2.0, 4.0));
160 should_glam_assert!({ $mat3::from_scale($vec2::ZERO) });
/external/rust/crates/glam/src/f64/
Ddaffine2.rs116 pub fn from_scale(scale: DVec2) -> Self { in from_scale() method
Ddaffine3.rs118 pub fn from_scale(scale: DVec3) -> Self { in from_scale() method
Ddmat3.rs300 pub fn from_scale(scale: DVec2) -> Self { in from_scale() method
Ddmat4.rs426 pub fn from_scale(scale: DVec3) -> Self { in from_scale() method
/external/rust/crates/glam/src/f32/
Daffine2.rs116 pub fn from_scale(scale: Vec2) -> Self { in from_scale() method
Daffine3a.rs118 pub fn from_scale(scale: Vec3) -> Self { in from_scale() method
Dmat3.rs296 pub fn from_scale(scale: Vec2) -> Self { in from_scale() method
/external/rust/crates/glam/src/f32/sse2/
Dmat3a.rs302 pub fn from_scale(scale: Vec2) -> Self { in from_scale() method
Dmat4.rs433 pub fn from_scale(scale: Vec3) -> Self { in from_scale() method
/external/rust/crates/glam/src/f32/scalar/
Dmat3a.rs300 pub fn from_scale(scale: Vec2) -> Self { in from_scale() method
Dmat4.rs443 pub fn from_scale(scale: Vec3) -> Self { in from_scale() method
/external/rust/crates/glam/src/f32/coresimd/
Dmat3a.rs299 pub fn from_scale(scale: Vec2) -> Self { in from_scale() method
Dmat4.rs430 pub fn from_scale(scale: Vec3) -> Self { in from_scale() method
/external/rust/crates/glam/src/f32/wasm32/
Dmat3a.rs299 pub fn from_scale(scale: Vec2) -> Self { in from_scale() method
Dmat4.rs430 pub fn from_scale(scale: Vec3) -> Self { in from_scale() method
/external/rust/crates/glam/
DCHANGELOG.md451 * The 3x3 matrix `from_scale()` method was changed to