Utilities.IntersectRayWithSphere(Vector, Vector, Vector, number)

shared
Intersect a ray with a sphere

Arguments

Returns

  • number First intersection point
  • number Second intersection point

Examples

Utilities.IntersectRayWithSphere – Intersect a ray with a sphere