VRageMath.BoundingSphereD.IntersectRaySphere - bimbam2103/space_engineers GitHub Wiki

IndexNamespace IndexBoundingSphereD

Summary

public bool IntersectRaySphere(RayD ray, out double tmin, out double tmax)

NOTE: This function doesn't calculate the normal because it's easily derived for a sphere (p - center).

Returns

bool

Parameters

⚠️ **GitHub.com Fallback** ⚠️