Archive 17/01/2023.

Method to verify whether point is inside polygon

lheller

Hello

Is there in Urho3D any helper method to verify that a point (Vector2) is inside a polygon (Vector2[ ])?
It is a common problem with detailed description here.

If there is no such method in Urho3D maybe it would helpful to integrate it.

BR,

Ladislav

lheller

There are C++ implementations at the botton of this page! :wink:

Modanung

Pull requests are welcome. :wink: