Example #1
0
        public static Plane Convert(BEPUutilities.Plane plane)
        {
            Plane toReturn;

            Convert(ref plane.Normal, out toReturn.Normal);
            toReturn.D = plane.D;
            return(toReturn);
        }
Example #2
0
 public static Plane ToSharp(this BEPUutilities.Plane p)
 {
     return(new Plane(p.Normal.ToSharp(), -p.D));
 }
Example #3
0
 public static void Convert(ref Plane plane, out BEPUutilities.Plane bepuPlane)
 {
     Convert(ref plane.Normal, out bepuPlane.Normal);
     bepuPlane.D = plane.D;
 }
Example #4
0
 public static void Convert(ref BEPUutilities.Plane plane, out Plane xnaPlane)
 {
     Convert(ref plane.Normal, out xnaPlane.Normal);
     xnaPlane.D = plane.D;
 }