Skip to content

ray3IntersectSphere

ray3IntersectSphere(ray, sphere): Point3 | null

Defined in: ray3.ts:82

Returns the first intersection point of the ray with the sphere (nearest to origin), or null if no intersection.

Ray3

Sphere3

Point3 | null