Bentley
Member
I want to to create a concave polygon sprite from a surface. The player places points which connect (like the arc tool in the sprite editor). When the player re-clicks on a previous point, I use draw_primitive_begin/draw_vertex to make the shape.
draw_primitive_begin(pr_linestrip) will connect the lines and give me a concave shape, but it doesn't fill that shape like pr_trianglefan does. I want the shape filled so I can use its full bounding box.
Thanks for reading.
draw_primitive_begin(pr_linestrip) will connect the lines and give me a concave shape, but it doesn't fill that shape like pr_trianglefan does. I want the shape filled so I can use its full bounding box.
Thanks for reading.