Lines Matching defs:f32
23 pub const fn vec4(x: f32, y: f32, z: f32, w: f32) -> Vec4 { in vec4()
76 pub const fn new(x: f32, y: f32, z: f32, w: f32) -> Self { in new()
124 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
144 pub fn dot(self, rhs: Self) -> f32 { in dot()
187 pub fn min_element(self) -> f32 { in min_element()
198 pub fn max_element(self) -> f32 { in max_element()
330 pub fn length(self) -> f32 { in length()
340 pub fn length_squared(self) -> f32 { in length_squared()
348 pub fn length_recip(self) -> f32 { in length_recip()
355 pub fn distance(self, rhs: Self) -> f32 { in distance()
361 pub fn distance_squared(self, rhs: Self) -> f32 { in distance_squared()
573 pub fn clamp_length(self, min: f32, max: f32) -> Self { in clamp_length()
680 fn div_assign(&mut self, rhs: f32) { in div_assign()
685 impl Div<Vec4> for f32 { implementation
718 fn mul_assign(&mut self, rhs: f32) { in mul_assign()
723 impl Mul<Vec4> for f32 { implementation
756 fn add_assign(&mut self, rhs: f32) { in add_assign()
761 impl Add<Vec4> for f32 { implementation
794 fn sub_assign(&mut self, rhs: f32) { in sub_assign()
799 impl Sub<Vec4> for f32 { implementation
833 fn rem_assign(&mut self, rhs: f32) { in rem_assign()
838 impl Rem<Vec4> for f32 { implementation
977 impl From<Vec4> for [f32; 4] { implementation
986 fn from(t: (f32, f32, f32, f32)) -> Self { in from()
991 impl From<Vec4> for (f32, f32, f32, f32) { implementation
1007 fn from((x, v): (f32, Vec3A)) -> Self { in from()
1021 fn from((x, v): (f32, Vec3)) -> Self { in from()
1028 fn from((v, z, w): (Vec2, f32, f32)) -> Self { in from() argument