math docs
    Preparing search index...

    Function containsPoint

    • Returns true if a point lies inside (or on the surface of) the sphere.

      Parameters

      • sphere: Const<sphere.Sphere>

        the sphere

      • point: readonly [number, number, number]

        the point to test

      Returns boolean

      true if the point is within the sphere's radius