Function closestSilhouettePointEllipse

Returns the closest point on the visibility silhouette of an ellipse

  • Parameters

    • c: Vec2

      center of ellipse

    • rx: Num

      horizontal radius of ellipse

    • ry: Num

      vertical radius of ellipse

    • p: Vec2

      A point

    Returns Vec2

    The closest point on the visibility silhouette of the ellipse