Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.BoundingSphereD.IntersectRaySphere

Morten Aune Lyrstad edited this page Feb 3, 2022 · 19 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