Hi all,
I generating a PolyLine2f using the convexHull function, with that path I need to find two points in it. Everything is fine when the polyline is static, but if the convex hull points move’s around I get some glitches from the fact it changes the point indexed at 0, making getPosition (float t) const
useless…
My initial solution is to make a line crossing the polygon and calculate it’s intersection points with the shape.
so…
- Is there an easy way of calculating this intersections with cinder already?
- Anyone with a better idea?
I made a little video that show’s the getPosition (0.0f)
jumping around…
Video
thankss