Beispiel #1
0
 public static F64Vec4 Rcp(F64Vec4 a)
 {
     return(new F64Vec4(Fixed64.Rcp(a.RawX), Fixed64.Rcp(a.RawY), Fixed64.Rcp(a.RawZ), Fixed64.Rcp(a.RawW)));
 }
Beispiel #2
0
 public static F64Vec4 Div(F64Vec4 a, F64 b)
 {
     long oob = Fixed64.Rcp(b.Raw); return(new F64Vec4(Fixed64.Mul(a.RawX, oob), Fixed64.Mul(a.RawY, oob), Fixed64.Mul(a.RawZ, oob), Fixed64.Mul(a.RawW, oob)));
 }
 public static F64Vec3 Rcp(F64Vec3 a)
 {
     return(new F64Vec3(Fixed64.Rcp(a.RawX), Fixed64.Rcp(a.RawY), Fixed64.Rcp(a.RawZ)));
 }
Beispiel #4
0
 public static F64 Rcp(F64 a)
 {
     return(FromRaw(Fixed64.Rcp(a.Raw)));
 }
 public static F64Vec2 Rcp(F64Vec2 a)
 {
     return(new F64Vec2(Fixed64.Rcp(a.RawX), Fixed64.Rcp(a.RawY)));
 }
Beispiel #6
0
 public static F64Vec2 Div(F64Vec2 a, F64 b) { long oob = Fixed64.Rcp(b.Raw); return new F64Vec2(Fixed64.Mul(a.RawX, oob), Fixed64.Mul(a.RawY, oob)); }