Home
last modified time | relevance | path

Searched refs:clamp_length (Results 1 – 18 of 18) sorted by relevance

/external/rust/crates/glam/tests/
Dvec2.rs752 $vec2::new(12.0, 16.0).clamp_length(7.0, 10.0),
757 $vec2::new(2.0, 1.0).clamp_length(0.5, 5.0),
762 $vec2::new(0.6, 0.8).clamp_length(10.0, 20.0),
765 should_glam_assert!({ $vec2::ONE.clamp_length(1.0, 0.0) });
Dvec3.rs827 $vec3::new(12.0, 16.0, 0.0).clamp_length(7.0, 10.0),
832 $vec3::new(2.0, 1.0, 0.0).clamp_length(0.5, 5.0),
837 $vec3::new(0.6, 0.8, 0.0).clamp_length(10.0, 20.0),
840 should_glam_assert!({ $vec3::ONE.clamp_length(1.0, 0.0) });
Dvec4.rs919 $vec4::new(12.0, 16.0, 0.0, 0.0).clamp_length(7.0, 10.0),
924 $vec4::new(2.0, 1.0, 0.0, 0.0).clamp_length(0.5, 5.0),
929 $vec4::new(0.6, 0.8, 0.0, 0.0).clamp_length(10.0, 20.0),
932 should_glam_assert!({ $vec4::ONE.clamp_length(1.0, 0.0) });
/external/rust/crates/glam/src/f32/coresimd/
Dvec4.rs553 pub fn clamp_length(self, min: f32, max: f32) -> Self { in clamp_length() method
Dvec3a.rs574 pub fn clamp_length(self, min: f32, max: f32) -> Self { in clamp_length() method
/external/rust/crates/glam/src/f32/wasm32/
Dvec4.rs573 pub fn clamp_length(self, min: f32, max: f32) -> Self { in clamp_length() method
Dvec3a.rs586 pub fn clamp_length(self, min: f32, max: f32) -> Self { in clamp_length() method
/external/rust/crates/glam/src/f32/
Dvec2.rs556 pub fn clamp_length(self, min: f32, max: f32) -> Self { in clamp_length() method
Dvec3.rs605 pub fn clamp_length(self, min: f32, max: f32) -> Self { in clamp_length() method
/external/rust/crates/glam/src/f64/
Ddvec2.rs556 pub fn clamp_length(self, min: f64, max: f64) -> Self { in clamp_length() method
Ddvec3.rs605 pub fn clamp_length(self, min: f64, max: f64) -> Self { in clamp_length() method
Ddvec4.rs646 pub fn clamp_length(self, min: f64, max: f64) -> Self { in clamp_length() method
/external/rust/crates/glam/src/f32/sse2/
Dvec4.rs591 pub fn clamp_length(self, min: f32, max: f32) -> Self { in clamp_length() method
Dvec3a.rs611 pub fn clamp_length(self, min: f32, max: f32) -> Self { in clamp_length() method
/external/rust/crates/glam/src/f32/scalar/
Dvec3a.rs611 pub fn clamp_length(self, min: f32, max: f32) -> Self { in clamp_length() method
Dvec4.rs654 pub fn clamp_length(self, min: f32, max: f32) -> Self { in clamp_length() method
/external/rust/crates/glam/
DCHANGELOG.md466 * Added `clamp_length()`, `clamp_length_max()`, and `clamp_length_min` methods
/external/libbpf/.github/actions/build-selftests/
Dvmlinux.h46038 bool (*clamp_length)(struct netfs_read_subrequest *); member