public static BoundingSphere Convert(BEPUutilities.BoundingSphere boundingSphere) { BoundingSphere toReturn; Convert(ref boundingSphere.Center, out toReturn.Center); toReturn.Radius = boundingSphere.Radius; return(toReturn); }
public static BoundingSphere ToSharp(this BEPUutilities.BoundingSphere bs) { return(new BoundingSphere(bs.Center.ToSharp(), bs.Radius)); }
public static void Convert(ref BoundingSphere boundingSphere, out BEPUutilities.BoundingSphere bepuBoundingSphere) { Convert(ref boundingSphere.Center, out bepuBoundingSphere.Center); bepuBoundingSphere.Radius = boundingSphere.Radius; }
public static void Convert(ref BEPUutilities.BoundingSphere boundingSphere, out BoundingSphere xnaBoundingSphere) { Convert(ref boundingSphere.Center, out xnaBoundingSphere.Center); xnaBoundingSphere.Radius = (float)boundingSphere.Radius; }