Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.BoundingSphereD.IntersectRaySphere

Morten Aune Lyrstad edited this page Feb 3, 2022 · 20 revisions

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

Clone this wiki locally