• Home
  • Raw
  • Download

Lines Matching refs:Vec3

16 pub const fn vec3(x: f32, y: f32, z: f32) -> Vec3 {  in vec3()  argument
17 Vec3::new(x, y, z) in vec3()
24 pub struct Vec3 { struct
30 impl Vec3 { argument
740 impl Default for Vec3 { implementation
747 impl Div<Vec3> for Vec3 { implementation
759 impl DivAssign<Vec3> for Vec3 { implementation
768 impl Div<f32> for Vec3 { implementation
780 impl DivAssign<f32> for Vec3 { implementation
789 impl Div<Vec3> for f32 {
790 type Output = Vec3;
792 fn div(self, rhs: Vec3) -> Vec3 { in div() argument
793 Vec3 { in div()
801 impl Mul<Vec3> for Vec3 { implementation
813 impl MulAssign<Vec3> for Vec3 { implementation
822 impl Mul<f32> for Vec3 { implementation
834 impl MulAssign<f32> for Vec3 { implementation
843 impl Mul<Vec3> for f32 {
844 type Output = Vec3;
846 fn mul(self, rhs: Vec3) -> Vec3 { in mul() argument
847 Vec3 { in mul()
855 impl Add<Vec3> for Vec3 { implementation
867 impl AddAssign<Vec3> for Vec3 { implementation
876 impl Add<f32> for Vec3 { implementation
888 impl AddAssign<f32> for Vec3 { implementation
897 impl Add<Vec3> for f32 {
898 type Output = Vec3;
900 fn add(self, rhs: Vec3) -> Vec3 { in add() argument
901 Vec3 { in add()
909 impl Sub<Vec3> for Vec3 { implementation
921 impl SubAssign<Vec3> for Vec3 { implementation
923 fn sub_assign(&mut self, rhs: Vec3) { in sub_assign() argument
930 impl Sub<f32> for Vec3 { implementation
942 impl SubAssign<f32> for Vec3 { implementation
951 impl Sub<Vec3> for f32 {
952 type Output = Vec3;
954 fn sub(self, rhs: Vec3) -> Vec3 { in sub() argument
955 Vec3 { in sub()
963 impl Rem<Vec3> for Vec3 { implementation
975 impl RemAssign<Vec3> for Vec3 { implementation
984 impl Rem<f32> for Vec3 { implementation
996 impl RemAssign<f32> for Vec3 { implementation
1005 impl Rem<Vec3> for f32 {
1006 type Output = Vec3;
1008 fn rem(self, rhs: Vec3) -> Vec3 { in rem() argument
1009 Vec3 { in rem()
1018 impl AsRef<[f32; 3]> for Vec3 { implementation
1021 unsafe { &*(self as *const Vec3 as *const [f32; 3]) } constant
1026 impl AsMut<[f32; 3]> for Vec3 { implementation
1029 unsafe { &mut *(self as *mut Vec3 as *mut [f32; 3]) }
1033 impl Sum for Vec3 { implementation
1043 impl<'a> Sum<&'a Self> for Vec3 { implementation
1053 impl Product for Vec3 { implementation
1063 impl<'a> Product<&'a Self> for Vec3 { implementation
1073 impl Neg for Vec3 { implementation
1085 impl Index<usize> for Vec3 { implementation
1098 impl IndexMut<usize> for Vec3 { implementation
1111 impl fmt::Display for Vec3 { implementation
1118 impl fmt::Debug for Vec3 { implementation
1120 fmt.debug_tuple(stringify!(Vec3)) in fmt()
1128 impl From<[f32; 3]> for Vec3 { implementation
1135 impl From<Vec3> for [f32; 3] {
1137 fn from(v: Vec3) -> Self { in from()
1142 impl From<(f32, f32, f32)> for Vec3 { implementation
1149 impl From<Vec3> for (f32, f32, f32) {
1151 fn from(v: Vec3) -> Self { in from()
1156 impl From<(Vec2, f32)> for Vec3 { implementation