Beispiel #1
0
 public static void Divide(ref Transform left, Complex right, out Transform result)
 {
     result.p = Complex.Divide(ref left.p, ref right);
     result.q = Complex.Divide(ref left.q, ref right);
 }
Beispiel #2
0
 public static void Divide(ref Transform left, ref Transform right, out Transform result)
 {
     Complex.Divide(left.p - right.p, ref right.q, out result.p);
     Complex.Divide(ref left.q, ref right.q, out result.q);
 }
Beispiel #3
0
 public static Transform Divide(ref Transform left, ref Transform right)
 {
     return(new Transform(
                Complex.Divide(left.p - right.p, ref right.q),
                Complex.Divide(ref left.q, ref right.q)));
 }
Beispiel #4
0
 public static void Divide(ref Transform left, Complex right, out Transform result)
 {
     result.Position = Complex.Divide(ref left.Position, ref right);
     result.Rotation = Complex.Divide(ref left.Rotation, ref right);
 }
Beispiel #5
0
 public static void Divide(ref Transform left, ref Transform right, out Transform result)
 {
     Complex.Divide(left.Position - right.Position, ref right.Rotation, out result.Position);
     Complex.Divide(ref left.Rotation, ref right.Rotation, out result.Rotation);
 }
Beispiel #6
0
 public static Transform Divide(ref Transform left, ref Transform right)
 {
     return(new Transform(
                Complex.Divide(left.Position - right.Position, ref right.Rotation),
                Complex.Divide(ref left.Rotation, ref right.Rotation)));
 }