Lines Matching defs:f32
16 pub const fn vec3(x: f32, y: f32, z: f32) -> Vec3 { in vec3()
66 pub const fn new(x: f32, y: f32, z: f32) -> Self { in new()
118 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
152 pub fn dot(self, rhs: Self) -> f32 { in dot()
213 pub fn min_element(self) -> f32 { in min_element()
221 pub fn max_element(self) -> f32 { in max_element()
354 pub fn length(self) -> f32 { in length()
363 pub fn length_squared(self) -> f32 { in length_squared()
371 pub fn length_recip(self) -> f32 { in length_recip()
377 pub fn distance(self, rhs: Self) -> f32 { in distance()
383 pub fn distance_squared(self, rhs: Self) -> f32 { in distance_squared()
605 pub fn clamp_length(self, min: f32, max: f32) -> Self { in clamp_length()
657 pub fn angle_between(self, rhs: Self) -> f32 { in angle_between()
782 fn div_assign(&mut self, rhs: f32) { in div_assign()
789 impl Div<Vec3> for f32 { implementation
836 fn mul_assign(&mut self, rhs: f32) { in mul_assign()
843 impl Mul<Vec3> for f32 { implementation
890 fn add_assign(&mut self, rhs: f32) { in add_assign()
897 impl Add<Vec3> for f32 { implementation
944 fn sub_assign(&mut self, rhs: f32) { in sub_assign()
951 impl Sub<Vec3> for f32 { implementation
998 fn rem_assign(&mut self, rhs: f32) { in rem_assign()
1005 impl Rem<Vec3> for f32 { implementation
1135 impl From<Vec3> for [f32; 3] { implementation
1144 fn from(t: (f32, f32, f32)) -> Self { in from()
1149 impl From<Vec3> for (f32, f32, f32) { implementation