@0b5vr/experimental
    Preparing search index...

    Function ray3DistanceToSphere

    • Return distances from given ray to sphere.

      The returning distance can be negative.

      The first returning value will be the distance of the incident point. If the ray does not intersect with sphere, it will return null.

      Parameters

      Returns [number, number] | null