• Home
  • Raw
  • Download

Lines Matching defs:f32

16 pub const fn vec4(x: f32, y: f32, z: f32, w: f32) -> Vec4 {  in vec4()
80 pub const fn new(x: f32, y: f32, z: f32, w: f32) -> Self { in new()
141 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
161 pub fn dot(self, rhs: Self) -> f32 { in dot()
214 pub fn min_element(self) -> f32 { in min_element()
222 pub fn max_element(self) -> f32 { in max_element()
394 pub fn length(self) -> f32 { in length()
403 pub fn length_squared(self) -> f32 { in length_squared()
411 pub fn length_recip(self) -> f32 { in length_recip()
417 pub fn distance(self, rhs: Self) -> f32 { in distance()
423 pub fn distance_squared(self, rhs: Self) -> f32 { in distance_squared()
654 pub fn clamp_length(self, min: f32, max: f32) -> Self { in clamp_length()
767 fn div_assign(&mut self, rhs: f32) { in div_assign()
775 impl Div<Vec4> for f32 { implementation
826 fn mul_assign(&mut self, rhs: f32) { in mul_assign()
834 impl Mul<Vec4> for f32 { implementation
885 fn add_assign(&mut self, rhs: f32) { in add_assign()
893 impl Add<Vec4> for f32 { implementation
944 fn sub_assign(&mut self, rhs: f32) { in sub_assign()
952 impl Sub<Vec4> for f32 { implementation
1003 fn rem_assign(&mut self, rhs: f32) { in rem_assign()
1011 impl Rem<Vec4> for f32 { implementation
1146 impl From<Vec4> for [f32; 4] { implementation
1155 fn from(t: (f32, f32, f32, f32)) -> Self { in from()
1160 impl From<Vec4> for (f32, f32, f32, f32) { implementation
1176 fn from((x, v): (f32, Vec3A)) -> Self { in from()
1190 fn from((x, v): (f32, Vec3)) -> Self { in from()
1197 fn from((v, z, w): (Vec2, f32, f32)) -> Self { in from() argument